What is the current behavior?
I’m currently trying to install a private module using yarn. However, I get the following error when I do:
yarn install v1.17.3
[1/5] Validating package.json…
[2/5] Resolving packages…
[3/5] Fetching packages…
error An unexpected error occurred: “https://registry.yarnpkg.com/@private/ngffwd-node-processes/-/ngffwd-node-processes-1.0.123.tgz: unexpected end of file”.
info If you think this is a bug, please open a bug report with the information provided in “/opt/atlassian/pipelines/agent/build/yarn-error.log”.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
If the current behavior is a bug, please provide the steps to reproduce.
The commands I’m running are the following:
npm config set scripts-prepend-node-path auto
What is the expected behavior?
We should be able to install the package with no issue. Previously we’ve been able to do, however, recently that has not been the case. We tried going back to previous versions with no seeming improvement. We don’t want to use npm install as that will affect the yarn.lock, but we are getting notifications that the version is available from npm.
The yarn-error.log doesn’t yield much either, so I don’t want to paste it here.
Please mention your node.js, yarn and operating system version.
npm – v6.9.0
node – v10.16.3
yarn – 1.17.3
Thanks any help or suggestions would be appreciated!