老师这是什么问题

来源:4-2 Vant组件库

慕丝2133890

2019-11-08 17:05

VM6147:1 ENOENT: no such file or directory, open 'C:/Users/fatfat/Desktop/新建文件夹 (4)/miniprogram/node_modules/.staging/vant-weapp-c369f110/lib/mixins/basic.js'
Error: ENOENT: no such file or directory, open 'C:/Users/fatfat/Desktop/新建文件夹 (4)/miniprogram/node_modules/.staging/vant-weapp-c369f110/lib/mixins/basic.js'
    at Object.openSync (fs.js:448:3)
    at Object.readFileSync (fs.js:348:35)
    at Object.n.readFileSync (C:\Users\fatfat\AppData\Roaming\Tencent\微信开发者工具\package.nw\js\unpack\hackrequire\index.js:1:1216)
    at FileUtils.getFile (C:\Users\fatfat\AppData\Roaming\Tencent\微信开发者工具\package.nw\core.wxvpkg\8e2026561e71ea67df211489b756510c.js:353:41)
    at o (C:\Users\fatfat\AppData\Roaming\Tencent\微信开发者工具\package.nw\core.wxvpkg\81a45c52b8b2dedcaa34d05c772d10f0.js:1:1196)
    at processTicksAndRejections (internal/process/task_queues.js:86:5)
    at async Proxy.exports.default (C:\Users\fatfat\AppData\Roaming\Tencent\微信开发者工具\package.nw\core.wxvpkg\81a45c52b8b2dedcaa34d05c772d10f0.js:1:2373)
    at async Proxy.exports.compileMiniProgramJS (C:\Users\fatfat\AppData\Roaming\Tencent\微信开发者工具\package.nw\core.wxvpkg\d7959893394997a84922a4171f531a12.js:1:221)
    at async Proxy.module.exports (C:\Users\fatfat\AppData\Roaming\Tencent\微信开发者工具\package.nw\core.wxvpkg\87c0ac209c25d8bb448550638bb17663.js:1:988)
    at async n (C:\Users\fatfat\AppData\Roaming\Tencent\微信开发者工具\package.nw\core.wxvpkg\94280b099bf2ed3aafc1f5e43519f037.js:17:384)

写回答 关注

1回答

  • 谢成
    2019-11-09 09:01:56

    1、项目目录不要有中文

    2、vant-weapp没安装成功,请重新安装

轻松入门微信小程序与云开发

深入浅出微信小程序核心基础与云开发,使你掌握小程序开发必备技能。

64548 学习 · 1742 问题

查看课程

相似问题