按照视频init npm以及下载完两个依赖后,通过微信小程序构建npm显示如下文本:
“message:发生错误
SyntaxError: parse js file (/Users/seanho/Desktop/Code/前端/999前端项目/uniapp/0微信原生/1-慕慕到家/mumutohome/node_modules/npm/node_modules/@npmcli/move-file/lib/index.js) failed: Unexpected token (106:14)
appid: wxe9c43617c4f4c69a
openid: o6zAJs3UTZXdH0GcXw5uBzO-LH4M
ideVersion: 1.06.2209190
osType: darwin-x64
time: 2022-10-25 18:30:43”