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

"npx arkit src/ -o arkit.svg " gives npm ERR! errno -4048 #127

Closed
greenstevester opened this issue Aug 5, 2019 · 3 comments
Closed

"npx arkit src/ -o arkit.svg " gives npm ERR! errno -4048 #127

greenstevester opened this issue Aug 5, 2019 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@greenstevester
Copy link

npx arkit src/ -o arkit.svg on Windows 10 results in

C:\javasource\ngx-datatable-master>npx arkit src/ -o arkit.svg
npm ERR! path C:\dev\npm-cache-current_npx\2900\node_modules\arkit\node_modules\base\package.json.3809823343
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall rename
npm ERR! Error: EPERM: operation not permitted, rename 'C:\dev\npm-cache-current_npx\2900\node_modules\arkit\node_modules\base\package.json.3809823343' -> 'C:\dev\npm-cache-current_npx\2900\node_modules\arkit\node_modules\base\package.json'
npm ERR! { [Error: EPERM: operation not permitted, rename 'C:\dev\npm-cache-current_npx\2900\node_modules\arkit\node_modules\base\package.json.3809823343' -> 'C:\dev\npm-cache-current_npx\2900\node_modules\arkit\node_modules\base\package.json']
npm ERR! cause:
npm ERR! { Error: EPERM: operation not permitted, rename 'C:\dev\npm-cache-current_npx\2900\node_modules\arkit\node_modules\base\package.json.3809823343' -> 'C:\dev\npm-cache-current_npx\2900\node_modules\arkit\node_modules\base\package.json'
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'rename',
npm ERR! path:
npm ERR! 'C:\dev\npm-cache-current\_npx\2900\node_modules\arkit\node_modules\base\package.json.3809823343',
npm ERR! dest:
npm ERR! 'C:\dev\npm-cache-current\_npx\2900\node_modules\arkit\node_modules\base\package.json' },
npm ERR! stack:
npm ERR! "Error: EPERM: operation not permitted, rename 'C:\dev\npm-cache-current\_npx\2900\node_modules\arkit\node_modules\base\package.json.3809823343' -> 'C:\dev\npm-cache-current\_npx\2900\node_modules\arkit\node_modules\base\package.json'",
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'rename',
npm ERR! path:
npm ERR! 'C:\dev\npm-cache-current\_npx\2900\node_modules\arkit\node_modules\base\package.json.3809823343',
npm ERR! dest:
npm ERR! 'C:\dev\npm-cache-current\_npx\2900\node_modules\arkit\node_modules\base\package.json',
npm ERR! parent: 'arkit' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).

npm ERR! A complete log of this run can be found in:
npm ERR! C:\dev\npm-cache-current_logs\2019-08-05T09_54_42_228Z-debug.log
Install for arkit@latest failed with code 4294963248

@greenstevester greenstevester added the bug Something isn't working label Aug 5, 2019
@dyatko
Copy link
Owner

dyatko commented Aug 5, 2019

@greenstevester it's some npm/windows problem
Please try https://stackoverflow.com/a/45840283

@greenstevester
Copy link
Author

npm cache clean --force solved the issue

@greenstevester
Copy link
Author

@dyatko - thanks for the quick feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants