想安装 easy-monitor 来查内存泄露,但是发现安装不了。
发布于 8 个月前 作者 Aaron009 702 次浏览 来自 问答

我百度以下方法,都不行。 http://www.cnblogs.com/haochuang/p/5688093.html https://www.jianshu.com/p/24ccd5f3f582 https://youcanping.cn/2017/12/17/node-gyp-error/

环境: using [email protected] using [email protected] Windows 7 64位

cmd 截图如下 image.png

install.log

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Users\\Client\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install',
1 verbose cli   'easy-monitor' ]
2 info using [email protected]
3 info using [email protected]
4 verbose config Skipping project config: C:\Users\Client/.npmrc. (matches userconfig)
5 verbose npm-session 032a3c918d8903b0
6 silly install loadCurrentTree
7 silly install readLocalPackageData
8 http fetch GET 304 https://registry.npm.taobao.org/easy-monitor 186ms (from cache)
9 silly pacote tag manifest for easy-monitor@latest fetched in 217ms
10 timing stage:loadCurrentTree Completed in 832ms
11 silly install loadIdealTree
12 silly install cloneCurrentTreeToIdealTree
13 timing stage:loadIdealTree:cloneCurrentTree Completed in 2ms
14 silly install loadShrinkwrap
15 timing stage:loadIdealTree:loadShrinkwrap Completed in 142ms
16 silly install loadAllDepsIntoIdealTree
17 silly resolveWithNewModule [email protected] checking installable status
18 http fetch GET 304 https://registry.npm.taobao.org/v8-profiler-node8 65ms (from cache)
19 silly pacote range manifest for v8-profiler-node8@^6.0.1 fetched in 69ms
20 silly resolveWithNewModule [email protected] checking installable status
21 http fetch GET 304 https://registry.npm.taobao.org/nan 50ms (from cache)
22 silly pacote range manifest for nan@^2.5.1 fetched in 52ms
23 silly resolveWithNewModule [email protected] checking installable status
24 http fetch GET 304 https://registry.npm.taobao.org/node-pre-gyp 74ms (from cache)
25 silly pacote range manifest for node-pre-gyp@^0.11.0 fetched in 76ms
26 silly resolveWithNewModule [email protected] checking installable status
27 timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 302ms
28 timing stage:loadIdealTree Completed in 506ms
29 silly currentTree Client
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree | +-- [email protected]
29 silly currentTree | +-- [email protected]
29 silly currentTree | `-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree | +-- [email protected]
29 silly currentTree | +-- [email protected]
29 silly currentTree | `-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree | `-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree | `-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree | +-- [email protected]
29 silly currentTree | `-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree | `-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree | +-- [email protected]
29 silly currentTree | +-- [email protected]
29 silly currentTree | `-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree | +-- [email protected]
29 silly currentTree | `-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree +-- [email protected]
29 silly currentTree `-- [email protected]
30 silly idealTree Client
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree | +-- [email protected]
30 silly idealTree | +-- [email protected]
30 silly idealTree | `-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree | +-- [email protected]
30 silly idealTree | +-- [email protected]
30 silly idealTree | `-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree | `-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree | `-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree | +-- [email protected]
30 silly idealTree | `-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree | `-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree | +-- [email protected]
30 silly idealTree | +-- [email protected]
30 silly idealTree | `-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree | +-- [email protected]
30 silly idealTree | `-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree | `-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree +-- [email protected]
30 silly idealTree `-- [email protected]
31 silly install generateActionsToTake
32 timing stage:generateActionsToTake Completed in 29ms
33 silly diffTrees action count 4
34 silly diffTrees add [email protected]
35 silly diffTrees add [email protected]
36 silly diffTrees add [email protected]
37 silly diffTrees add [email protected]
38 silly decomposeActions action count 32
39 silly decomposeActions fetch [email protected]
40 silly decomposeActions extract [email protected]
41 silly decomposeActions preinstall [email protected]
42 silly decomposeActions build [email protected]
43 silly decomposeActions install [email protected]
44 silly decomposeActions postinstall [email protected]
45 silly decomposeActions finalize [email protected]
46 silly decomposeActions refresh-package-json [email protected]
47 silly decomposeActions fetch [email protected]
48 silly decomposeActions extract [email protected]
49 silly decomposeActions preinstall [email protected]
50 silly decomposeActions build [email protected]
51 silly decomposeActions install [email protected]
52 silly decomposeActions postinstall [email protected]
53 silly decomposeActions finalize [email protected]
54 silly decomposeActions refresh-package-json [email protected]
55 silly decomposeActions fetch [email protected]
56 silly decomposeActions extract [email protected]
57 silly decomposeActions preinstall [email protected]
58 silly decomposeActions build [email protected]
59 silly decomposeActions install [email protected]
60 silly decomposeActions postinstall [email protected]
61 silly decomposeActions finalize [email protected]
62 silly decomposeActions refresh-package-json [email protected]
63 silly decomposeActions fetch [email protected]
64 silly decomposeActions extract [email protected]
65 silly decomposeActions preinstall [email protected]
66 silly decomposeActions build [email protected]
67 silly decomposeActions install [email protected]
68 silly decomposeActions postinstall [email protected]
69 silly decomposeActions finalize [email protected]
70 silly decomposeActions refresh-package-json [email protected]
71 silly install executeActions
72 silly doSerial global-install 32
73 verbose correctMkdir C:\Users\Client\AppData\Roaming\npm-cache\_locks correctMkdir not in flight; initializing
74 timing audit compress Completed in 4ms
75 info audit Submitting payload of 6468bytes
76 verbose lock using C:\Users\Client\AppData\Roaming\npm-cache\_locks\staging-0f116ff4a537fc52.lock for C:\Users\Client\node_modules\.staging
77 silly doParallel extract 4
78 silly extract [email protected]
79 silly extract [email protected]
80 silly extract [email protected]
81 silly extract [email protected]
82 silly tarball trying nan@^2.5.1 by hash: sha1-kOIrzLjKV+pM03zIPTgZtS7qZ2Y=
83 silly tarball trying node-pre-gyp@^0.11.0 by hash: sha1-2x8zIVJy9pLNOPAyOOPptHxd0FQ=
84 silly tarball trying v8-profiler-node8@^6.0.1 by hash: sha1-JVj12rdiLyMFIT5sy03eH2bMYx8=
85 silly tarball trying easy-monitor@latest by hash: sha1-UguUR9oVtWRuY+UJuClp4mBMC88=
86 silly extract v8-profiler-node8@^6.0.1 extracted to C:\Users\Client\node_modules\.staging\v8-profiler-node8-a3d8f880 (81ms)
87 silly extract node-pre-gyp@^0.11.0 extracted to C:\Users\Client\node_modules\.staging\node-pre-gyp-51c786c3 (102ms)
88 http fetch POST 404 https://registry.npm.taobao.org/-/npm/v1/security/audits/quick 209ms
89 silly extract nan@^2.5.1 extracted to C:\Users\Client\node_modules\.staging\nan-1e281254 (118ms)
90 silly extract easy-monitor@latest extracted to C:\Users\Client\node_modules\.staging\easy-monitor-df95bbbb (220ms)
91 timing action:extract Completed in 223ms
92 silly doReverseSerial unbuild 32
93 silly doSerial remove 32
94 silly doSerial move 32
95 silly doSerial finalize 32
96 silly finalize C:\Users\Client\node_modules\nan
97 silly finalize C:\Users\Client\node_modules\v8-profiler-node8\node_modules\node-pre-gyp
98 silly finalize C:\Users\Client\node_modules\v8-profiler-node8
99 silly finalize C:\Users\Client\node_modules\easy-monitor
100 timing action:finalize Completed in 29ms
101 silly doParallel refresh-package-json 4
102 silly refresh-package-json C:\Users\Client\node_modules\nan
103 silly refresh-package-json C:\Users\Client\node_modules\v8-profiler-node8\node_modules\node-pre-gyp
104 silly refresh-package-json C:\Users\Client\node_modules\v8-profiler-node8
105 silly refresh-package-json C:\Users\Client\node_modules\easy-monitor
106 timing action:refresh-package-json Completed in 20ms
107 silly doParallel preinstall 4
108 silly preinstall [email protected]
109 info lifecycle [email protected]~preinstall: [email protected]
110 silly preinstall [email protected]
111 info lifecycle [email protected]~preinstall: [email protected]
112 silly preinstall [email protected]
113 info lifecycle [email protected]~preinstall: [email protected]
114 silly preinstall [email protected]
115 info lifecycle [email protected]~preinstall: [email protected]
116 verbose lifecycle [email protected]~preinstall: unsafe-perm in lifecycle true
117 verbose lifecycle [email protected]~preinstall: PATH: C:\Users\Client\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Client\node_modules\v8-profiler-node8\node_modules\.bin;C:\Users\Client\node_modules\.bin;C:\Python27\;C:\Python27\Scripts;C:\Program Files (x86)\Java\jre1.8.0_151\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\EmEditor;D:\Program Files\IDM Computer Solutions\UltraEdit;C:\Program Files (x86)\CMake\bin;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\nodejs\;D:\Users\ChengXu1\AppData\Local\Atlassian\SourceTree\git_local\bin;C:\xampp\php;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Users\Client\AppData\Roaming\npm;C:\Program Files (x86)\Egret\Egret Wing 3\bin
118 verbose lifecycle [email protected]~preinstall: CWD: C:\Users\Client\node_modules\v8-profiler-node8
119 silly lifecycle [email protected]~preinstall: Args: [ '/d /s /c', 'node -e \'process.exit(0)\'' ]
120 silly lifecycle [email protected]~preinstall: Returned: code: 0  signal: null
121 timing action:preinstall Completed in 177ms
122 silly doSerial build 32
123 silly build [email protected]
124 info linkStuff [email protected]
125 silly linkStuff [email protected] has C:\Users\Client\node_modules as its parent node_modules
126 silly build [email protected]
127 info linkStuff [email protected]
128 silly linkStuff [email protected] has C:\Users\Client\node_modules\v8-profiler-node8\node_modules as its parent node_modules
129 verbose linkBins [ { 'node-pre-gyp': './bin/node-pre-gyp' },
129 verbose linkBins   'C:\\Users\\Client\\node_modules\\v8-profiler-node8\\node_modules\\.bin',
129 verbose linkBins   false ]
130 silly build [email protected]
131 info linkStuff [email protected]
132 silly linkStuff [email protected] has C:\Users\Client\node_modules as its parent node_modules
133 silly build [email protected]
134 info linkStuff [email protected]
135 silly linkStuff [email protected] has C:\Users\Client\node_modules as its parent node_modules
136 timing action:build Completed in 8ms
137 silly doSerial global-link 32
138 silly doParallel update-linked 0
139 silly doSerial install 32
140 silly install [email protected]
141 info lifecycle [email protected]~install: [email protected]
142 silly install [email protected]
143 info lifecycle [email protected]~install: [email protected]
144 silly install [email protected]
145 info lifecycle [email protected]~install: [email protected]
146 verbose lifecycle [email protected]~install: unsafe-perm in lifecycle true
147 verbose lifecycle [email protected]~install: PATH: C:\Users\Client\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Client\node_modules\v8-profiler-node8\node_modules\.bin;C:\Users\Client\node_modules\.bin;C:\Python27\;C:\Python27\Scripts;C:\Program Files (x86)\Java\jre1.8.0_151\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\EmEditor;D:\Program Files\IDM Computer Solutions\UltraEdit;C:\Program Files (x86)\CMake\bin;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\nodejs\;D:\Users\ChengXu1\AppData\Local\Atlassian\SourceTree\git_local\bin;C:\xampp\php;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Users\Client\AppData\Roaming\npm;C:\Program Files (x86)\Egret\Egret Wing 3\bin
148 verbose lifecycle [email protected]~install: CWD: C:\Users\Client\node_modules\v8-profiler-node8
149 silly lifecycle [email protected]~install: Args: [ '/d /s /c', 'node-pre-gyp install --fallback-to-build' ]
150 silly lifecycle [email protected]~install: Returned: code: 1  signal: null
151 info lifecycle [email protected]~install: Failed to exec install script
152 timing action:install Completed in 13529ms
153 verbose unlock done using C:\Users\Client\AppData\Roaming\npm-cache\_locks\staging-0f116ff4a537fc52.lock for C:\Users\Client\node_modules\.staging
154 timing stage:rollbackFailedOptional Completed in 70ms
155 timing stage:runTopLevelLifecycles Completed in 15582ms
156 silly saveTree Client
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree | +-- [email protected]
156 silly saveTree | | `-- [email protected]
156 silly saveTree | `-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree | +-- [email protected]
156 silly saveTree | `-- [email protected]
156 silly saveTree |   +-- [email protected]
156 silly saveTree |   +-- [email protected]
156 silly saveTree |   +-- [email protected]
156 silly saveTree |   +-- [email protected]
156 silly saveTree |   +-- [email protected]
156 silly saveTree |   +-- [email protected]
156 silly saveTree |   `-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree | +-- [email protected]
156 silly saveTree | +-- [email protected]
156 silly saveTree | +-- [email protected]
156 silly saveTree | | `-- [email protected]
156 silly saveTree | +-- [email protected]
156 silly saveTree | +-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | `-- [email protected]
156 silly saveTree | +-- [email protected]
156 silly saveTree | | `-- [email protected]
156 silly saveTree | +-- [email protected]
156 silly saveTree | | `-- [email protected]
156 silly saveTree | +-- [email protected]
156 silly saveTree | +-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | `-- [email protected]
156 silly saveTree | `-- [email protected]
156 silly saveTree |   `-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree | `-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree | +-- [email protected]
156 silly saveTree | `-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree | +-- [email protected]
156 silly saveTree | +-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | | +-- [email protected]
156 silly saveTree | | | `-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | | +-- [email protected]
156 silly saveTree | | | `-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | | +-- [email protected]
156 silly saveTree | | | | `-- [email protected]
156 silly saveTree | | | +-- [email protected]
156 silly saveTree | | | `-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | `-- [email protected]
156 silly saveTree | +-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | | +-- [email protected]
156 silly saveTree | | | | `-- [email protected]
156 silly saveTree | | | `-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | `-- [email protected]
156 silly saveTree | +-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | `-- [email protected]
156 silly saveTree | +-- [email protected]
156 silly saveTree | +-- [email protected]
156 silly saveTree | +-- [email protected]
156 silly saveTree | | +-- [email protected]
156 silly saveTree | | `-- [email protected]
156 silly saveTree | `-- [email protected]
156 silly saveTree |   +-- [email protected]
156 silly saveTree |   `-- [email protected]
156 silly saveTree |     +-- [email protected]
156 silly saveTree |     | `-- [email protected]
156 silly saveTree |     +-- [email protected]
156 silly saveTree |     | +-- [email protected]
156 silly saveTree |     | `-- [email protected]
156 silly saveTree |     +-- [email protected]
156 silly saveTree |     | `-- [email protected]
156 silly saveTree |     |   +-- [email protected]
156 silly saveTree |     |   `-- [email protected]
156 silly saveTree |     +-- [email protected]
156 silly saveTree |     | +-- [email protected]
156 silly saveTree |     | `-- [email protected]
156 silly saveTree |     +-- [email protected]
156 silly saveTree |     | +-- [email protected]
156 silly saveTree |     | | +-- [email protected]
156 silly saveTree |     | | +-- [email protected]
156 silly saveTree |     | | +-- [email protected]
156 silly saveTree |     | | +-- [email protected]
156 silly saveTree |     | | | +-- [email protected]
156 silly saveTree |     | | | | `-- [email protected]
156 silly saveTree |     | | | `-- [email protected]
156 silly saveTree |     | | +-- [email protected]
156 silly saveTree |     | | `-- [email protected]
156 silly saveTree |     | `-- [email protected]
156 silly saveTree |     +-- [email protected]
156 silly saveTree |     | +-- [email protected]
156 silly saveTree |     | +-- [email protected]
156 silly saveTree |     | `-- [email protected]
156 silly saveTree |     +-- [email protected]
156 silly saveTree |     +-- [email protected]
156 silly saveTree |     `-- [email protected]
156 silly saveTree |       +-- [email protected]
156 silly saveTree |       | `-- [email protected]
156 silly saveTree |       |   `-- [email protected]
156 silly saveTree |       +-- [email protected]
156 silly saveTree |       +-- [email protected]
156 silly saveTree |       `-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree | `-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree +-- [email protected]
156 silly saveTree `-- [email protected]
157 warn enoent ENOENT: no such file or directory, open 'C:\Users\Client\package.json'
158 verbose enoent This is related to npm not being able to find a file.
159 warn Client No description
160 warn Client No repository field.
161 warn Client No README data
162 warn Client No license field.
163 verbose stack Error: [email protected] install: `node-pre-gyp install --fallback-to-build`
163 verbose stack Exit status 1
163 verbose stack     at EventEmitter.<anonymous> (C:\Users\Client\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
163 verbose stack     at EventEmitter.emit (events.js:182:13)
163 verbose stack     at ChildProcess.<anonymous> (C:\Users\Client\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
163 verbose stack     at ChildProcess.emit (events.js:182:13)
163 verbose stack     at maybeClose (internal/child_process.js:962:16)
163 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
164 verbose pkgid [email protected]
165 verbose cwd C:\Users\Client
166 verbose Windows_NT 6.1.7601
167 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Client\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "easy-monitor"
168 verbose node v10.14.1
169 verbose npm  v6.4.1
170 error code ELIFECYCLE
171 error errno 1
172 error [email protected] install: `node-pre-gyp install --fallback-to-build`
172 error Exit status 1
173 error Failed at the [email protected] install script.
173 error This is probably not a problem with npm. There is likely additional logging output above.
174 verbose exit [ 1, true ]

WebStorm 安装报错提示如下 image.png

3 回复
  • npm install --global --production windows-build-tools
  • npm install -g node-gyp
  • npm install easy-monitor

应该就可以了,另外,想要在线上排查内存泄漏,了解下 Node.js 性能平台,功能更加全面哦

npm install --global --production windows-build-tools
npm install -g node-gyp
npm install easy-monitor

我找到解决办法了。 我不知道该怎么利用Github搜索问题,解决问题。 问题还是得到作者的提示,才找到解决方案的。 搜索地址:https://github.com/hyj1991/easy-monitor/issues?q=label%3Awindows+is%3Aclosed 解决地址:https://github.com/hyj1991/easy-monitor/issues/79

@Aaron009 你楼上那个就是作者

回到顶部