lkakland.blogg.se

Npm config set cache
Npm config set cache













npm config set cache

Var doExit = ? ('_exit') : trueĪt process.errorHandler (D:\nodejs\node_modules\npm\lib\utils\error-handler.js:216:3)Īt process._fatalException (internal/bootstrap/node.js:496:27) (D:\nodejs\node_modules\npm\lib\config\core.js:82:13)Īt Conf.f (D:\nodejs\node_modules\npm\node_modules\once\once.js:25:25)ĭ:\nodejs\node_modules\npm\lib\utils\error-handler.js:98 TypeError: Cannot read property 'loaded' of undefinedĪt exit (D:\nodejs\node_modules\npm\lib\utils\error-handler.js:98:27)Īt errorHandler (D:\nodejs\node_modules\npm\lib\utils\error-handler.js:216:3)Īt D:\nodejs\node_modules\npm\bin\npm-cli.js:77:20Īt cb (D:\nodejs\node_modules\npm\lib\npm.js:225:22)Īt D:\nodejs\node_modules\npm\lib\npm.js:263:24Īt D:\nodejs\node_modules\npm\lib\config\core.js:83:7Īt Conf. (D:\nodejs\node_modules\npm\lib\config\core.js:316:10)Īt D:\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:90:16Īt FSReqWrap.readFileAfterClose (internal/fs/read_file_context.js:53:3)

npm config set cache

C:\Users\Arthur>npmĮrror: Failed parsing JSON config key cache: "C:\Users\Le Roi Arthur\AppData\Roaming\npm-cache"Īt parseField (D:\nodejs\node_modules\npm\lib\config\core.js:376:13)Īt D:\nodejs\node_modules\npm\lib\config\core.js:330:24Īt Conf.add (D:\nodejs\node_modules\npm\lib\config\core.js:328:23)Īt ConfigChain.addString (D:\nodejs\node_modules\npm\node_modules\config-chain\index.js:244:8)Īt Conf. I know what the syntax is and I would like to fix it, but I can't find the file anywhere. Now, no matter what I try with npm, it will complain about it. I made a syntax error in it and saved the file. If multiple single-character shorthands are strung together, and the resulting combination is unambiguously not some other configuration param, then it is expanded to its various component pieces.I edited the npm config file with npm edit config. If the specified configuration param resolves unambiguously to a known configuration parameter, then it is expanded to that configuration parameter. The following shorthands are parsed on the command-line:















Npm config set cache