gpt4 book ai didi

node.js - npm shrinkwrap 无关模块

转载 作者:IT老高 更新时间:2023-10-28 22:06:33 24 4
gpt4 key购买 nike

有以下问题 - 我安装了所有模块,我正在尝试制作 npm-shrinkwrap.json 文件:

npm shrinkwrap

但我总是收到以下错误:

npm ERR! Darwin 14.3.0
npm ERR! argv "/usr/local/Cellar/node/4.1.2/bin/node" "/usr/local/bin/npm" "shrinkwrap"
npm ERR! node v4.1.2
npm ERR! npm v2.10.1

npm ERR! Problems were encountered
npm ERR! Please correct and try again.
npm ERR! extraneous: core-js@1.2.6 /Users/ulnda/projects/folder/node_modules/my-module/node_modules/webdriverio/node_modules/core-js
npm ERR! extraneous: core-js@1.2.6 /Users/ulnda/projects/folder/node_modules/core-js
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR! /Users/ulnda/projects/folder/npm-debug.log

这是什么意思?我该如何解决?提前致谢!

最佳答案

在收缩包装之前尝试 npm prune

关于node.js - npm shrinkwrap 无关模块,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35982100/

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