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 error after release #225

Open
arsenalol69 opened this issue Oct 4, 2016 · 2 comments
Open

NPM error after release #225

arsenalol69 opened this issue Oct 4, 2016 · 2 comments

Comments

@arsenalol69
Copy link

arsenalol69 commented Oct 4, 2016

Hello, after your new release, an exception occurs when I do "npm install adapterjs --save". It seem to be caused by "postinstall": "npm --prefix third_party/adapter install third_party/adapter" inside package.json :

npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall rename
npm ERR! Error: EPERM: operation not permitted, rename 'E:\MesProjets\JDL\meteor-exemple\exemple\node_modules\adapterjs\third_party\adapter\node_modules.staging\is-property-8d23152c\package.json.3623421401' -> 'E:\MesProjets\JDL\meteor-exemple\exemple\node_modules\adapterjs\third_party\adapter\node_modules.staging\is-property-8d23152c\package.json'
npm ERR! at Error (native)
npm ERR! { [Error: EPERM: operation not permitted, rename 'E:\MesProjets\JDL\meteor-exemple\exemple\node_modules\adapterjs\third_party\adapter\node_modules.staging\is-property-8d23152c\package.json.3623421401' -> 'E:\MesProjets\JDL\meteor-exemple\exemple\node_modules\adapterjs\third_party\adapter\node_modules.staging\is-property-8d23152c\package.json']
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'rename',
npm ERR! path: 'E:\MesProjets\JDL\meteor-exemple\exemple\node_modules\adapterjs\third_party\adapter\node_modules.staging\is-property-8d23152c\package.json.3623421401',
npm ERR! dest: 'E:\MesProjets\JDL\meteor-exemple\exemple\node_modules\adapterjs\third_party\adapter\node_modules.staging\is-property-8d23152c\package.json',
npm ERR! parent: 'webrtc-adapter' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! E:\MesProjets\JDL\meteor-exemple\exemple\node_modules\adapterjs\npm-debug.log
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Users\Hassane\AppData\Local.meteor\packages\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\bin\node.exe" "C:\Users\Hassane\AppData\Local.meteor\packages\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\npm\bin\npm-cli.js" "install" "--save" "adapterjs"

@johache
Copy link
Contributor

johache commented Oct 5, 2016

Hi,
It runs fine for me.
Are you sure you did not run your npm install as root first, and now don;t have the rights to override an existing version ?
I suggest you clean clone your repo, and run a new npm install.

@arsenalol69
Copy link
Author

Hi @johache ! My project is an empty meteor project, I just add this package. When I run "meteor npm install [email protected] --save" it works perfectly ! But with release 14, a lot of compilation code are ran and finally I get the exception...

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