Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Please help I’m having issues when running npm install -g code-server on Alpine Linux iSH iPad

npm WARN @coder/logger@1.1.16 requires a peer of @google-cloud/logging@^4.5.2 but none is installed. You must install peer dependencies yourself.

npm ERR! code ENOENT
npm ERR! syscall rename
npm ERR! path /usr/lib/node_modules/code-server/node_modules/tar-fs/node_modules/chownr
npm ERR! dest /usr/lib/node_modules/code-server/node_modules/tar-fs/node_modules/.chownr.DELETE
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/lib/node_modules/code-server/node_modules/tar-fs/node_modules/chownr' -> '/usr/lib/node_modules/code-server/node_modules/tar-fs/node_modules/.chownr.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

Thank you!

You must be logged in to vote

I think I've seen this before but I have no idea what causes it. Does it happen if you try again? What if you use yarn instead of npm?

Replies: 1 comment · 2 replies

Comment options

I think I've seen this before but I have no idea what causes it. Does it happen if you try again? What if you use yarn instead of npm?

You must be logged in to vote
2 replies
@markpanado
Comment options

Using yarn to install code-server and dependencies worked. Thank you!

@woensug-choi
Comment options

I get EPERM: operation not permitted, copyfile ~~{cached} to {destination} on ish with yarn. How did you overcome this error?

Answer selected by markpanado
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.