问答详情
源自:4-2 Vant组件库

老师这是什么问题

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)

提问者:慕丝2133890 2019-11-08 17:05

个回答

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

    1、项目目录不要有中文

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