Skip to content

Error: Illegal characters in path #9

@NatanB4

Description

@NatanB4

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions