vue-admin
vue-admin copied to clipboard
"webpack:fail to compile" when run npm run dev
ERROR in ./~/[email protected]@vue-bulma-jump/src/index.js Module parse failed: F:\MySource\vue\vue-admin-master\[email protected]@vue-bulma-jump\src\index.js Unexpected token (1:7) You may need an appropriate loader to handle this file type. | export BackToTop from './BackToTop' | export default from './Jump' | @ ./~/[email protected]@babel-loader/lib!./~/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./client/views/components/BackToTop.vue 50:0-43 @ ./client/views/components/BackToTop.vue @ ./client/views lazy ^./.*.vue$ @ ./client/store/modules/menu/lazyLoading.js @ ./client/store/modules/menu/index.js @ ./client/store/index.js @ ./client/app.js @ ./client/index.js @ multi ./build/dev-client ./client/index.js
ERROR in ./~/[email protected]@vue-bulma-emoji/src/index.js Module parse failed: F:\MySource\vue\vue-admin-master\[email protected]@vue-bulma-emoji\src\index.js Unexpected token (1:7) You may need an appropriate loader to handle this file type. | export filter from './filter' | | export EmojiIcon from './EmojiIcon' @ ./~/[email protected]@babel-loader/lib!./~/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./client/views/components/Emoji.vue 52:0-52 @ ./client/views/components/Emoji.vue @ ./client/views lazy ^./.*.vue$ @ ./client/store/modules/menu/lazyLoading.js @ ./client/store/modules/menu/index.js @ ./client/store/index.js @ ./client/app.js @ ./client/index.js @ multi ./build/dev-client ./client/index.js
ERROR in ./~/[email protected]@vue-bulma-progress-tracker/src/index.js Module parse failed: F:\MySource\vue\vue-admin-master\[email protected]@vue-bulma-progress-tracker\src\index.js Unexpected token (1:7) You may need an appropriate loader to handle this file type. | export StepItem from './StepItem' | export default from './Tracker' | @ ./~/[email protected]@babel-loader/lib!./~/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./client/views/components/ProgressTracker.vue 76:0-71 @ ./client/views/components/ProgressTracker.vue @ ./client/views lazy ^./.*.vue$ @ ./client/store/modules/menu/lazyLoading.js @ ./client/store/modules/menu/index.js @ ./client/store/index.js @ ./client/app.js @ ./client/index.js @ multi ./build/dev-client ./client/index.js Child html-webpack-plugin for "index.html": Asset Size Chunks Chunk Names index.html 1.48 MB 0 webpack: Failed to compile.
Listening at http://localhost:8080
You install node 6 LTS... And npm install?
On Sáb, 26 de ago de 2017 06:32 heqs [email protected] wrote:
ERROR in .//[email protected]@vue-bulma-jump/src/index.js Module parse failed: F:\MySource\vue\vue-admin-master\[email protected]@vue-bulma-jump\src\index.js Unexpected token (1:7) You may need an appropriate loader to handle this file type. | export BackToTop from './BackToTop' | export default from './Jump' | @ .//[email protected]@babel-loader/lib!./~/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./client/views/components/BackToTop.vue 50:0-43 @ ./client/views/components/BackToTop.vue @ ./client/views lazy ^./.*.vue$ @ ./client/store/modules/menu/lazyLoading.js @ ./client/store/modules/menu/index.js @ ./client/store/index.js @ ./client/app.js @ ./client/index.js @ multi ./build/dev-client ./client/index.js
ERROR in .//[email protected]@vue-bulma-emoji/src/index.js Module parse failed: F:\MySource\vue\vue-admin-master\[email protected]@vue-bulma-emoji\src\index.js Unexpected token (1:7) You may need an appropriate loader to handle this file type. | export filter from './filter' | | export EmojiIcon from './EmojiIcon' @ .//[email protected]@babel-loader/lib!./~/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./client/views/components/Emoji.vue 52:0-52 @ ./client/views/components/Emoji.vue @ ./client/views lazy ^./.*.vue$ @ ./client/store/modules/menu/lazyLoading.js @ ./client/store/modules/menu/index.js @ ./client/store/index.js @ ./client/app.js @ ./client/index.js @ multi ./build/dev-client ./client/index.js
ERROR in .//[email protected] @vue-bulma-progress-tracker/src/index.js Module parse failed: F:\MySource\vue\vue-admin-master\[email protected]@vue-bulma-progress-tracker\src\index.js Unexpected token (1:7) You may need an appropriate loader to handle this file type. | export StepItem from './StepItem' | export default from './Tracker' | @ .//[email protected]@babel-loader/lib!./~/[email protected]@vue-loader/lib/selector.js?type=script&index=0!./client/views/components/ProgressTracker.vue 76:0-71 @ ./client/views/components/ProgressTracker.vue @ ./client/views lazy ^./.*.vue$ @ ./client/store/modules/menu/lazyLoading.js @ ./client/store/modules/menu/index.js @ ./client/store/index.js @ ./client/app.js @ ./client/index.js @ multi ./build/dev-client ./client/index.js Child html-webpack-plugin for "index.html": Asset Size Chunks Chunk Names index.html 1.48 MB 0 webpack: Failed to compile.
Listening at http://localhost:8080
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vue-bulma/vue-admin/issues/221, or mute the thread https://github.com/notifications/unsubscribe-auth/AJsBSm3LCtcKcVa4JkFJ2jOdUU9W6jPiks5sb-YZgaJpZM4PDbH4 .
My node version is v6.11.2,and run cnpm install in project‘s root directory
you should run npm install in project's root directory.
run npm install in project's root directory,build error
I also meet this error.