Skip to content

Can't install eoc using commands from README #721

@volodya-lombrozo

Description

@volodya-lombrozo

Check this out:

➜  hello npm uninstall eolang

up to date in 308ms
➜  hello npm uninstall -g eolang

removed 71 packages in 420ms
➜  hello
➜  hello
➜  hello eoc --version
zsh: command not found: eoc
➜  hello npm install -g [email protected]
npm error code 1
npm error path /usr/local/lib/node_modules/eolang/node_modules/node
npm error command failed
npm error command sh -c node installArchSpecificPackage
npm error (node:23883) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
npm error (Use `node --trace-deprecation ...` to show where the warning was created)
npm error npm error code ETARGET
npm error npm error notarget No matching version found for [email protected].
npm error npm error notarget In most cases you or one of your dependencies are requesting
npm error npm error notarget a package version that doesn't exist.
npm error npm error A complete log of this run can be found in: /Users/lombrozo/.npm/_logs/2025-10-09T07_59_53_661Z-debug-0.log
npm error node:internal/modules/cjs/loader:1423
npm error   throw err;
npm error   ^
npm error
npm error Error: Cannot find module 'node-darwin-x64/package.json'
npm error Require stack:
npm error - /usr/local/lib/node_modules/eolang/node_modules/node/installArchSpecificPackage.js
npm error     at Module._resolveFilename (node:internal/modules/cjs/loader:1420:15)
npm error     at require.resolve (node:internal/modules/helpers:163:19)
npm error     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/eolang/node_modules/node-bin-setup/index.js:20:27)
npm error     at ChildProcess.emit (node:events:508:28)
npm error     at maybeClose (node:internal/child_process:1101:16)
npm error     at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
npm error   code: 'MODULE_NOT_FOUND',
npm error   requireStack: [
npm error     '/usr/local/lib/node_modules/eolang/node_modules/node/installArchSpecificPackage.js'
npm error   ]
npm error }
npm error
npm error Node.js v24.9.0


In other words, I do npm install -g [email protected] and get the error. What do I do wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions