Пытаюсь установить electron forge, пишу:
npm install -g electron-forge
npm install electron-forge
В обоих случаях вижу ответ:
Cannot read property 'resolve' of undefined
A complete log of this run can be found in:
npm ERR! C:\Users\Admin\AppData\Roaming\npm-cache\_logs\2020-05-05T13_24_33_945Z-debug.log
В самом дебаге написанно:
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli '-g',
1 verbose cli 'electron-forge'
1 verbose cli ]
2 info using npm@6.14.4
3 info using node@v12.16.3
4 verbose npm-session 676341ba06e5e9a0
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 silly pacote directory manifest for undefined@file:electron-forge fetched in 17ms
8 timing stage:loadCurrentTree Completed in 35ms
9 silly install loadIdealTree
10 silly install cloneCurrentTreeToIdealTree
11 timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms
12 silly install loadShrinkwrap
13 timing stage:loadIdealTree:loadShrinkwrap Completed in 1ms
14 silly install loadAllDepsIntoIdealTree
15 silly resolveWithNewModule electron-forge@6.0.0-beta.51 checking installable status
16 silly fetchPackageMetaData error for @electron/get@^1.9.0 Cannot read property 'resolve' of undefined
17 silly fetchPackageMetaData error for @malept/cross-spawn-promise@^1.1.0 Cannot read property 'resolve' of undefined
18 silly fetchPackageMetaData error for @octokit/rest@^16.43.1 Cannot read property 'resolve' of undefined
19 silly fetchPackageMetaData error for @types/which@^1.3.2 Cannot read property 'resolve' of undefined
20 silly fetchPackageMetaData error for aws-sdk@^2.472.0 Cannot read property 'resolve' of undefined
21 silly fetchPackageMetaData error for colors@^1.4.0 Cannot read property 'resolve' of undefined
22 silly fetchPackageMetaData error for commander@^4.1.1 Cannot read property 'resolve' of undefined
23 silly fetchPackageMetaData error for cross-spawn@^7.0.1 Cannot read property 'resolve' of undefined
24 silly fetchPackageMetaData error for cross-zip@^3.0.0 Cannot read property 'resolve' of undefined
25 silly fetchPackageMetaData error for debug@^4.1.0 Cannot read property 'resolve' of undefined
26 silly fetchPackageMetaData error for electron-osx-sign@^0.4.15 Cannot read property 'resolve' of undefined
27 silly fetchPackageMetaData error for electron-packager@^14.2.0 Cannot read property 'resolve' of undefined
28 silly fetchPackageMetaData error for electron-rebuild@^1.8.6 Cannot read property 'resolve' of undefined
29 silly fetchPackageMetaData error for express@^4.17.1 Cannot read property 'resolve' of undefined
30 silly fetchPackageMetaData error for express-ws@^4.0.0 Cannot read property 'resolve' of undefined
31 silly fetchPackageMetaData error for find-up@^4.1.0 Cannot read property 'resolve' of undefined
32 silly fetchPackageMetaData error for form-data@3.0.0 Cannot read property 'resolve' of undefined
33 silly fetchPackageMetaData error for fs-extra@^9.0.0 Cannot read property 'resolve' of undefined
34 silly fetchPackageMetaData error for glob@^7.1.5 Cannot read property 'resolve' of undefined
35 silly fetchPackageMetaData error for global@^4.3.2 Cannot read property 'resolve' of undefined
36 silly fetchPackageMetaData error for html-webpack-plugin@^4.0.2 Cannot read property 'resolve' of undefined
37 silly fetchPackageMetaData error for inquirer@^7.0.6 Cannot read property 'resolve' of undefined
38 silly fetchPackageMetaData error for lodash@^4.17.15 Cannot read property 'resolve' of undefined
39 silly fetchPackageMetaData error for log-symbols@^4.0.0 Cannot read property 'resolve' of undefined
40 silly fetchPackageMetaData error for mime-types@^2.1.25 Cannot read property 'resolve' of undefined
41 silly fetchPackageMetaData error for node-fetch@^2.6.0 Cannot read property 'resolve' of undefined
42 silly fetchPackageMetaData error for nugget@^2.0.1 Cannot read property 'resolve' of undefined
43 silly fetchPackageMetaData error for open@^7.0.3 Cannot read property 'resolve' of undefined
44 silly fetchPackageMetaData error for ora@^4.0.3 Cannot read property 'resolve' of undefined
45 silly fetchPackageMetaData error for parse-author@^2.0.0 Cannot read property 'resolve' of undefined
46 silly fetchPackageMetaData error for pretty-ms@^7.0.0 Cannot read property 'resolve' of undefined
47 silly fetchPackageMetaData error for resolve-package@^1.0.1 Cannot read property 'resolve' of undefined