-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
项目启动之后报错? #9
Comments
你是在这个项目的基础上npm install 和 npm run dev的吗 |
我的也是这个问题intall后run dev 报错 |
建议作者提供可以运行版本的package-lock.json。 新版的mpvue-loader和mpvue-template-compiler,官方升级比较大。为适应官方升级,需要在config/index.js和build/webpack配置文件里增配fileExt以支持不同平台的小程序,同时也增配了process.env.PLATFORM变量。 |
已经对版本进行了锁定,下载重新clone 运行好了 |
谢谢提醒,已经对版本进行了锁定 |
/mpvue-shop/node_modules/mpvue-template-compiler/build.js:5785
switch(fileExt.platform) {
^
TypeError: Cannot read property 'platform' of undefined
The text was updated successfully, but these errors were encountered: