我正在尝试为聚合物安装纸质元件,但是我一直收到错误代码134
我尝试运行的安装命令:npm install --save PolymerElements / paper-checkbox
版本: NPM 6.9.0 凉亭1.8.8 聚合物1.9.10
错误日志:
0信息,如果一切正常就可以了
1详细的cli ['C:\ Program Files \ nodejs \ node.exe',
1个详细的cli'C:\ Users \ Robert-Jan \ AppData \ Roaming \ npm \ node_modules \ npm \ bin \ npm-cli.js',
1个详细的cli'install',
1详细cli'PolymerElements / paper-checkbox']
2信息使用npm@6.9.0
3信息使用node@v10.16.0
4详细的npm-session b7d861b33e35622a
5愚蠢的安装loadCurrentTree
6傻装readLocalPackageData
7详细的prepareGitDep未定义:安装devDeps并运行prepare脚本。
8错误prepareGitDep 1>
8错误prepareGitDep> @ polymer / paper-checkbox @ 3.0.1准备C:\ Users \ Robert-Jan \ AppData \ Roaming \ npm-cache_cacache \ tmp \ git-clone-18f97110
8错误prepareGitDep> npm run generate-types
8错误prepareGitDep
8错误prepareGitDep
8错误prepareGitDep> @ polymer / paper-checkbox @ 3.0.1生成类型C:\ Users \ Robert-Jan \ AppData \ Roaming \ npm-cache_cacache \ tmp \ git-clone-18f97110
8错误prepareGitDep> gen-typescript-clarifications --deleteExisting --outDir。 - 校验
9错误prepareGitDep 2> npm WARN安装不建议使用--dev
选项。请改用--only=dev
。
9错误prepareGitDep严重错误:无效的标记压缩接近堆限制分配失败-JavaScript堆内存不足
9错误prepareGitDep 1:00007FF6C37EC6AA v8 :: internal :: GCIdleTimeHandler :: GCIdleTimeHandler + 4506
9错误prepareGitDep 2:00007FF6C37C7416节点:: MakeCallback + 4534
9错误prepareGitDep 3:00007FF6C37C7D90 node_module_register + 2032
9错误prepareGitDep 4:00007FF6C3AE189E v8 :: internal :: FatalProcessOutOfMemory + 846
9错误prepareGitDep 5:00007FF6C3AE17CF v8 :: internal :: FatalProcessOutOfMemory + 639
9错误prepareGitDep 6:00007FF6C3CC7F94 v8 :: internal :: Heap :: MaxHeapGrowingFactor + 9620
9错误prepareGitDep 7:00007FF6C3CBEF76 v8 :: internal :: ScavengeJob :: operator = + 24550
9错误prepareGitDep 8:00007FF6C3CBD5CC v8 :: internal :: ScavengeJob :: operator = + 17980
9错误prepareGitDep 9:00007FF6C3CC6317 v8 :: internal :: Heap :: MaxHeapGrowingFactor + 2327
9错误prepareGitDep 10:00007FF6C3CC6396 v8 :: internal :: Heap :: MaxHeapGrowingFactor + 2454
9错误prepareGitDep 11:00007FF6C3DF0637 v8 :: internal :: Factory :: NewFillerObject + 55
9错误prepareGitDep 12:00007FF6C3E6D826 v8 :: internal :: operator << + 73494
9错误prepareGitDep 13:0000036260A5C5C1
9错误prepareGitDep npm ERR!代码ELIFECYCLE
9错误prepareGitDep npm ERR!埃尔诺134
9错误prepareGitDep npm ERR! @ polymer / paper-checkbox @ 3.0.1生成类型:gen-typescript-declarations --deleteExisting --outDir . --verify
9错误prepareGitDep npm ERR!退出状态134
9错误prepareGitDep npm ERR!
9错误prepareGitDep npm ERR! @ polymer / paper-checkbox @ 3.0.1 generate-types脚本失败。
9错误prepareGitDep npm ERR! npm可能不是问题。上面可能还有其他日志记录输出。
9错误prepareGitDep
9错误prepareGitDep npm ERR!可以在以下位置找到此运行的完整日志:
9错误prepareGitDep npm ERR! C:\ Users \ Robert-Jan \ AppData \ Roaming \ npm-cache_logs \ 2019-06-19T16_43_41_685Z-debug.log
9错误prepareGitDep npm ERR!代码ELIFECYCLE
9错误prepareGitDep npm ERR!埃尔诺134
9错误prepareGitDep npm ERR! @ polymer / paper-checkbox @ 3.0.1准备:npm run generate-types
9错误prepareGitDep npm ERR!退出状态134
9错误prepareGitDep npm ERR!
9错误prepareGitDep npm ERR! @ polymer / paper-checkbox @ 3.0.1准备脚本失败。
9错误prepareGitDep npm ERR! npm可能不是问题。上面可能还有其他日志记录输出。
9错误prepareGitDep
9错误prepareGitDep npm ERR!可以在以下位置找到此运行的完整日志:
9错误prepareGitDep npm ERR! C:\ Users \ Robert-Jan \ AppData \ Roaming \ npm-cache_logs \ 2019-06-19T16_43_41_748Z-debug.log
github:PolymerElements / paper-checkbox的10个愚蠢的fetchPackageMetaData错误过早关闭
11个计时阶段:rollbackFailed可选在1毫秒内完成
12个计时阶段:runTopLevelLifecycles在74372ms中完成
13详细堆栈错误:过早关闭
PassThrough.onclose上的13个详细堆栈(C:\ Users \ Robert-Jan \ AppData \ Roaming \ npm \ node_modules \ npm \ node_modules \ stream-of-stream \ index.js:47:67)
PassThrough.emit的13个详细堆栈(events.js:203:15)
在emitCloseNT上有13个详细的堆栈(内部/流/destroy.js:68:8)
process._tickCallback处的13个详细堆栈(internal / process / next_tick.js:63:19)
14详细的CWD C:\ websites \ polymerApp
15详细的Windows_NT 10.0.17134
16详细argv“ C:\ Program Files \ nodejs \ node.exe”“ C:\ Users \ Robert-Jan \ AppData \ Roaming \ npm \ node_modules \ npm \ bin \ npm-cli.js”“安装”“ PolymerElements /纸复选框”
17详细节点v10.16.0
18详细npm v6.9.0
19错误过早关闭
20详细出口[1,true]
我希望它可以正确安装在我的笔记本电脑上,但在那里我得到相同的结果
答案 0 :(得分:0)
有时也会出现此错误,这是一个常见的节点错误,您应该设置允许使用的最大内存节点大小。您可以通过设置os环境变量NODE_OPTIONS来做到这一点
paintComponent()