【发布时间】:2015-12-10 15:48:43
【问题描述】:
我在通过 npm 安装 Ionic 框架时遇到问题。我使用cntlm设置了代理,一切正常,我可以安装我想要的所有其他模块(yeoman,bower grunt,通常的东西:))。但是在安装 Ionic 时不知何故 npm 挂起...我有一个日志输出显示 npm 一直挂起而没有抛出任何类型的错误:
npm sill gunzTarPerm extractEntry node_modules/wrappy/test/basic.js
npm sill gunzTarPerm modified mode [ 'node_modules/wrappy/test/basic.js', 420, 4
38 ]
npm sill gunzTarPerm extractEntry node_modules/write-file-atomic/package.json
npm sill gunzTarPerm modified mode [ 'node_modules/write-file-atomic/package.jso
n', 420, 438 ]
npm sill gunzTarPerm extractEntry node_modules/write-file-atomic/.npmignore
npm sill gunzTarPerm modified mode [ 'node_modules/write-file-atomic/.npmignore'
, 420, 438 ]
npm sill gunzTarPerm extractEntry node_modules/write-file-atomic/README.md
npm sill gunzTarPerm modified mode [ 'node_modules/write-file-atomic/README.md',
420, 438 ]
npm sill gunzTarPerm extractEntry node_modules/write-file-atomic/LICENSE
npm sill gunzTarPerm modified mode [ 'node_modules/write-file-atomic/LICENSE', 4
20, 438 ]
npm sill gunzTarPerm extractEntry node_modules/write-file-atomic/index.js
npm sill gunzTarPerm modified mode [ 'node_modules/write-file-atomic/index.js',
420, 438 ]
npm sill gunzTarPerm extractEntry node_modules/write-file-atomic/test/basic.js
npm sill gunzTarPerm modified mode [ 'node_modules/write-file-atomic/test/basic.
js', 420, 438 ]
npm sill addBundled read tarball
npm sill cleanup remove extracted module
loadRequestedDeps ? netwo ¯ ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦
愚蠢的是,我已经启动并运行了它,但它花了几个小时的尝试和错误,不知何故,它在某些时候起作用了,我认为它与 node-gyp 或 python 有关...
【问题讨论】:
-
我面临同样的问题。你有没有为此找到任何解决方案?
标签: ionic-framework npm npm-install