寶塔安裝完環(huán)境后,使用 npm,無(wú)論什么命令,都帶有報(bào)錯(cuò)信息。
報(bào)錯(cuò)為:
npm WARN config init.module Use `--init-module` instead.
文章來(lái)源地址http://www.zghlxwxcb.cn/article/188.html
解決方法:
找到一下文件:/www/server/nodejs/v16.17.0/etc/npmrc
將 init.module 修改為 --init-module
文章來(lái)源:http://www.zghlxwxcb.cn/article/188.html
到此這篇關(guān)于npm WARN config init.module Use `--init-module` instead.的文章就介紹到這了,更多相關(guān)內(nèi)容可以在右上角搜索或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!