You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
Just installed node.js v4.4.4 with npm v2.15.1 in CentOS 5.8. However, when calling npm such as npm version or npm install, the above error occured:
[root@dev01 local]# npm version
SyntaxError: Unexpected token ILLEGAL
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at /usr/local/lib/node_modules/npm/node_modules/npm-registry-client/index.js:73:20
at Array.forEach (native)
at CachingRegistryClient.RegClient (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/index.js:51:42)
npm ERR! Linux 2.6.18-308.el5
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "version"
npm ERR! node v4.4.4
npm ERR! npm v2.15.1
npm ERR! Unexpected token ILLEGAL
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
Anyone would help? Thanks.
The text was updated successfully, but these errors were encountered:
We're closing this support issue as it has gone three days without activity. The npm CLI team itself does not provide support via this issue tracker, but we are happy when users help each other here. In our experience once a support issue goes dormant it's unlikely to get further activity. If you're still having problems, you may be better served by joining package.community and asking your question there.
For more information about our new issue aging policies and why we've instituted them please see our blog post.
Hi,
Just installed node.js v4.4.4 with npm v2.15.1 in CentOS 5.8. However, when calling npm such as npm version or npm install, the above error occured:
Anyone would help? Thanks.
The text was updated successfully, but these errors were encountered: