Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm ERR! enoent ENOENT: no such file or directory, chmod on building node-vsce #59

Closed
freeman42x opened this issue Nov 1, 2017 · 2 comments

Comments

@freeman42x
Copy link

npm ERR! Linux 4.9.58
npm ERR! argv "/nix/store/0vc4z6wz3r0mi1laxji2afvn4h6mvh8s-nodejs-6.11.5/bin/node" "/nix/store/0vc4z6wz3r0mi1laxji2afvn4h6mvh8s-nodejs-6.11.5/bin/npm" "--registry" "http://www.example.com" "--nodedir=/nix/store/143d7fs15g8phgyd6sff9a0rz8wq0c2r-node-sources" "--production" "install"
npm ERR! node v6.11.5
npm ERR! npm  v3.10.10
npm ERR! path /nix/store/lyjw1hwvjajf82zryy7f8arqqr3fjx6p-node-vsce-1.32.0/lib/node_modules/vsce/out/vsce
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod '/nix/store/lyjw1hwvjajf82zryy7f8arqqr3fjx6p-node-vsce-1.32.0/lib/node_modules/vsce/out/vsce'
npm ERR! enoent ENOENT: no such file or directory, chmod '/nix/store/lyjw1hwvjajf82zryy7f8arqqr3fjx6p-node-vsce-1.32.0/lib/node_modules/vsce/out/vsce'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! Please include the following file with any support request:
npm ERR!     /nix/store/lyjw1hwvjajf82zryy7f8arqqr3fjx6p-node-vsce-1.32.0/lib/node_modules/vsce/npm-debug.log
builder for ‘/nix/store/jklwblqg2f60blpxfabsc30r35ld2a5h-node-vsce-1.32.0.drv’ failed with exit code 254
error: build of ‘/nix/store/jklwblqg2f60blpxfabsc30r35ld2a5h-node-vsce-1.32.0.drv’ failed

Steps to reproduce:

node2nix -6
nix-build -A package

Environment:
node2nix 1.3.0
NixOS 17.09

@svanderburg
Copy link
Owner

svanderburg commented Dec 11, 2017

I suppose that you are having problems deploying the vsce package? I just tried the latest stable and development versions of node2nix on Nixpkgs 17.09 and it seems to work for me.

Can you try installing the latest node2nix (1.4.0) and Nixpkgs 17.09 and check if it works for you?

@svanderburg
Copy link
Owner

Closing, since my test run succeeded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants