customrealms / cli

Command line tools for creating and compiling JavaScript Minecraft plugins.
https://customrealms.io
MIT License
9 stars 4 forks source link

Error: Illegal characters in path #9

Open NatanB4 opened 9 months ago

NatanB4 commented 9 months ago

When running: "npm install -g @customrealms/cli"

the following error appears:

npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node postinstall.js install
npm ERR! Copying the relevant binary for your platform win32 (x64)
npm ERR! Error: Command failed: npm bin -g
npm ERR!
npm ERR!     at genericNodeError (node:internal/errors:956:15)
npm ERR!     at wrappedFn (node:internal/errors:510:14)
npm ERR!     at ChildProcess.exithandler (node:child_process:422:12)
npm ERR!     at ChildProcess.emit (node:events:519:28)
npm ERR!     at maybeClose (node:internal/child_process:1105:16)
npm ERR!     at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
npm ERR!   code: 1,
npm ERR!   killed: false,
npm ERR!   signal: null,
npm ERR!   cmd: 'npm bin -g'
npm ERR! }
npm ERR! C:\Users\reisn\minecraft_plugin_with_javascript\node_modules\mkdirp\lib\path-arg.js:20
npm ERR!       throw Object.assign(new Error('Illegal characters in path.'), {
npm ERR!                           ^
npm ERR!
npm ERR! Error: Illegal characters in path.
SuperZekes commented 7 months ago

Same issue here, I don't know if it will be fixed.

connerdouglass commented 5 months ago

We made some updates and this might be fixed now. Care to give it another try? Thanks!