gpt4 book ai didi

node.js - npm install 总是卡在提取:time-grunt

转载 作者:太空宇宙 更新时间:2023-11-04 02:49:13 25 4
gpt4 key购买 nike

我正在学习 Keystone 并尝试在真实的 Digital Ocean Droplet 上进行练习。一切都很顺利,直到我卡在 npm install 处。

npm WARN deprecated jade@1.11.0: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated transformers@2.1.0: Deprecated, use jstransformer
npm WARN deprecated cross-spawn-async@2.2.4: cross-spawn no longer requires a build toolchain, use it instead!
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
Killed .....] - extract:time-grunt: sill doParallel extract 1194

我所做的每一件事,都是从干净状态重新安装所有内容,npm install 总是停留在 extract:time-grunt

当我检查 node_modules 文件夹时,那里什么也没有。

我尝试在 Google 和此处进行搜索,但找不到任何好的答案。我可以在我的 Mac 本地主机上运行良好,一切都很好。

服务器:Ubuntu 16.04、Node 4.5.0、npm 3.10.16

这只是一个简单且非常基础的 Keystone 项目,我没有做任何高级的事情。

最佳答案

我认为,您内存不足。尝试 add some swap memory在开始 npm install 之前。

关于node.js - npm install 总是卡在提取:time-grunt,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39202204/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com