Framework7-template-vue-webpack provided by official github build error


#1

npm run build-prod error:

ERROR in app.js from UglifyJs
Unexpected token: name (t7ctx) [./node_modules/[email protected]@template7/dist/template7.esm.js:15,0][app.js:1584,4]

Build failed with errors.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build-prod: node ./build/prod.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build-prod script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! G:\nodejs\node_cache_logs\2019-01-05T09_22_54_973Z-debug.log

[SOLVED] Framework7-Vue-Webpack build error
#2

Can’t see such errors. Make sure you have latest Node.js version


#3

My Node.js version is v10.15.0 on win10


#4

Try delete node_modules folder and reinstall all components


#5

Thank you~ it work!!!