rxaviers / cldr-data-npm

Npm module for Unicode CLDR JSON data
MIT License
42 stars 27 forks source link

cannot find module 'request' #58

Closed vishnu4 closed 6 years ago

vishnu4 commented 6 years ago

Getting the below error when i'm trying to npm install cldr-data

2018-05-07T16:00:55.1531636Z > cldr-data@32.0.1 install D:\TfsBuildAgents\CustomAgent3_work\1\s\CoBRAMVC4Portal\node_modules\cldr-data 2018-05-07T16:00:55.1531636Z > node install.js 2018-05-07T16:00:55.1531636Z 2018-05-07T16:00:55.3051656Z module.js:538 2018-05-07T16:00:55.3051656Z throw err; 2018-05-07T16:00:55.3051656Z ^ 2018-05-07T16:00:55.3051656Z 2018-05-07T16:00:55.3051656Z Error: Cannot find module 'request' 2018-05-07T16:00:55.3051656Z at Function.Module._resolveFilename (module.js:536:15) 2018-05-07T16:00:55.3051656Z at Function.Module._load (module.js:466:25) 2018-05-07T16:00:55.3051656Z at Module.require (module.js:579:17) 2018-05-07T16:00:55.3051656Z at require (internal/module.js:11:18) 2018-05-07T16:00:55.3051656Z at Object. (D:\TfsBuildAgents\CustomAgent3_work\1\s\CoBRAMVC4Portal\node_modules\cldr-data-downloader\lib\download.js:14:15) 2018-05-07T16:00:55.3051656Z at Module._compile (module.js:635:30) 2018-05-07T16:00:55.3051656Z at Object.Module._extensions..js (module.js:646:10) 2018-05-07T16:00:55.3051656Z at Module.load (module.js:554:32) 2018-05-07T16:00:55.3051656Z at tryModuleLoad (module.js:497:12) 2018-05-07T16:00:55.3051656Z at Function.Module._load (module.js:489:3) 2018-05-07T16:00:56.4671468Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents): 2018-05-07T16:00:56.4671468Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) 2018-05-07T16:00:56.4671468Z 2018-05-07T16:00:56.4701271Z npm ERR! code ELIFECYCLE 2018-05-07T16:00:56.4701271Z npm ERR! errno 1 2018-05-07T16:00:56.4701271Z npm ERR! cldr-data@32.0.1 install: node install.js 2018-05-07T16:00:56.4701271Z npm ERR! Exit status 1 2018-05-07T16:00:56.4721280Z npm ERR! 2018-05-07T16:00:56.4721280Z npm ERR! Failed at the cldr-data@32.0.1 install script. 2018-05-07T16:00:56.4721280Z npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 2018-05-07T16:00:56.5271272Z 2018-05-07T16:00:56.5271272Z npm ERR! A complete log of this run can be found in: 2018-05-07T16:00:56.5281274Z npm ERR! C:\Users\tfsservice\AppData\Roaming\npm-cache_logs\2018-05-07T16_00_56_509Z-debug.log 2018-05-07T16:00:56.5761276Z Found npm debug log, make sure the path matches with the one in npm's output: C:\Users\tfsservice\AppData\Roaming\npm-cache_logs\2018-05-07T16_00_56_509Z-debug.log