error when use command npm install on windows

91 views
Skip to first unread message

Jyoti Rawat

unread,
Mar 2, 2017, 1:06:16 AM3/2/17
to grpc.io
 npm install -g
module.js:327
    throw err;
    ^

Error: Cannot find module 'semver'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (C:\Users\rajeshm\AppData\Roaming\npm\node_modules\npm\lib\utils\unsupported.js:2:14)
    at Module._compile (module.js:409:26)
    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)

Hi please help me i can't fixed it.

Michael Lumish

unread,
Mar 2, 2017, 12:01:29 PM3/2/17
to Jyoti Rawat, grpc.io
What version of Node do you have (node --version)? What version of npm do you have (npm --version)? Are you able to install any packages?

Also, installing grpc with the -g flag probably won't do you any good. It's a library, not a command line tool.

--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/47012010-3652-4d67-87fc-cd26fe70b0bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages