Closed delai closed 10 years ago
Hi, This is an NPM error. The NPM server might be having some issue. Best is to wait an while and try again. By the way, what platform are you on and what version? If grunt continues to have problems installing, give gulp a try.
Robert Biggs Product Director ChocolateChip-UI www.sourcebits.com
(415) 288-3697 Sourcebits, Inc. 211 Sutter Street. STE 200 San Francisco, CA 94108
On Mar 17, 2014, at 9:27 PM, delai notifications@github.com wrote:
at project folder: sudo npm install -g grunt-cli
say:
module.js:340 throw err; ^ Error: Cannot find module './lib/optional' at Function.Module.resolveFilename (module.js:338:15) at Function.Module.load (module.js:280:25) at Module.require (module.js:362:17) at require (module.js:378:17) at Object. (/usr/local/lib/node_modules/npm/node_modules/request/index.js:15:16) at Module.compile (module.js:449:26) at Object.Module.extensions..js (module.js:467:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:362:17) DelaiMacBook:chocolatechip-ui delai$ ls
— Reply to this email directly or view it on GitHub.
thanks, reinstall nodejs, and the error gone
at project folder: sudo npm install -g grunt-cli
say:
module.js:340 throw err; ^ Error: Cannot find module './lib/optional' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:362:17) at require (module.js:378:17) at Object. (/usr/local/lib/node_modules/npm/node_modules/request/index.js:15:16)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
DelaiMacBook:chocolatechip-ui delai$ ls