node plugin fails to capture symlink
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Sergio Schvezov |
Bug Description
Given https:/
$ snapcraft
Preparing to pull hello-node-snap
Pulling hello-node-snap
Downloading 'node-v8.
npm --cache-
/branches/
+ heroku-cli@6.12.4
added 377 packages in 25.841s
npm --cache-
npm WARN prefer global node-gyp@3.6.2 should be installed with -g
npm WARN prefer global foreman@2.0.0 should be installed with -g
npm notice created a lockfile as package-lock.json. You should commit this file.
added 376 packages in 21.984s
npm --cache-
/branches/
+ heroku-cli@6.12.4
updated 1 package in 7.355s
Preparing to build hello-node-snap
Building hello-node-snap
npm --cache-
/branches/
+ heroku-cli@6.12.4
updated 1 package in 5.395s
npm --cache-
up to date in 4.045s
npm --cache-
/branches/
+ heroku-cli@6.12.4
updated 1 package in 6.208s
Staging hello-node-snap
Priming hello-node-snap
[Errno 2] No such file or directory: '/branches/
Digging:
$ ls prime/bin/heroku -la
lrwxrwxrwx 1 ev dialout 38 Jul 6 05:16 prime/bin/heroku -> ../lib/
$ ls -la prime/lib/
lrwxrwxrwx 1 ev dialout 14 Jul 6 05:16 prime/lib/
$ ls -la parts/hello-
lrwxrwxrwx 1 ev dialout 38 Jul 6 05:16 parts/hello-
$ ls -la parts/hello-
lrwxrwxrwx 1 ev dialout 14 Jul 6 05:16 parts/hello-
$ ls -la parts/hello-
-rwxrwxr-x 1 ev dialout 537 Jul 6 03:31 parts/hello-
summary: |
- node plugin fails to capture hardlink + node plugin fails to capture symlink |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
This only happens when you specify `node-engine: 8.1.3` with *any* install-from-npm snap. Dropping it resolves the issue.