error: cannot unlink /home/cnb/.npmrc because it is not a symlink #245
Closed
willchui
started this conversation in
Node.js Team
Replies: 2 comments
-
It looks like you have to add an if loop to verify it before unlinking. ((https://github.com/paketo-buildpacks/yarn-install/blob/main/build.go#L283-L288))
|
Beta Was this translation helpful? Give feedback.
0 replies
-
missing type file into bindings folder. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
pack build nodejs-sample --path .. --volume /Users/xx/.npmrc:/home/cnb/.npmrc --buildpack paketo-buildpacks/nodejs --builder paketobuildpacks/builder:base
I am attempting to use the Paketo Node.js buildpack to create an image while binding my .npmrc file. It works fine when using npm alone, but if my project is utilizing Yarn, it returns an error: 'cannot unlink /home/cnb/.npmrc because it is not a symlink'
Beta Was this translation helpful? Give feedback.
All reactions