-
Notifications
You must be signed in to change notification settings - Fork 87
Description
$ npm run dev
mpver-demo@0.1.0 dev D:\wechat\download\mpvue
node build/dev-server.js
D:\wechat\download\mpvue\node_modules\mpvue-template-compiler\build.js:5785
switch(fileExt.platform) {
^
TypeError: Cannot read property 'platform' of undefined
at Object.compileToWxml (D:\wechat\download\mpvue\node_modules\mpvue-template-compiler\build.js:5785:20)
at genComponentWxml (D:\wechat\download\mpvue\node_modules\mpvue-loader\lib\mp-compiler\index.js:45:75)
at Timeout.createWxml [as _onTimeout] (D:\wechat\download\mpvue\node_modules\mpvue-loader\lib\mp-compiler\index.js:92:19)
at ontimeout (timers.js:438:13)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mpver-demo@0.1.0 dev: node build/dev-server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mpver-demo@0.1.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.