解决方法:
- 先把
package-lock.json
,package.json
,node_modules
,miniprogram_npm
都删干净 - 打开终端,执行
npm init
,全程回车,不输入任何配置信息 - 执行
npm i vant-weapp -S --production
- 打开微信小程序-工具-构建npm
提示构建成功!
package-lock.json
,package.json
,node_modules
, miniprogram_npm
都删干净npm init
,全程回车,不输入任何配置信息npm i vant-weapp -S --production
提示构建成功!
本文标题:\node_modules\@types\node\index.
本文链接:https://www.haomeiwen.com/subject/xqqogrtx.html
网友评论