vue-typescript-dpapp-demo icon indicating copy to clipboard operation
vue-typescript-dpapp-demo copied to clipboard

npm run dev 报错

Open GavenXia opened this issue 6 years ago • 2 comments

  • swiper/dist/css/swiper.css in ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0&bustCache!./src/components/modules.vue, ./node_modules/ts-loader!./node_modules/vue-loader/lib/selector.js?type=script&index=0&bustCache!./src/components/headline.vue

GavenXia avatar Jun 07 '18 11:06 GavenXia

@GavenXia
你这个报错信息贴的不完整啊,没有办法帮助到你

itshizhan avatar Jun 27 '18 15:06 itshizhan

[email protected] dev E:\My_project\Ts-vue\vue-typescript-dpapp-demo webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

94% asset optimization

ERROR Failed to compile with 11 errors 11:18:47

error in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\components\shops.vue.ts

[tsl] ERROR in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\components\shops.vue.ts(27,10) TS2564: Property 'shops' has no initializer and is not definitely assigned in the constructor.

error in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\components\shops.vue.ts

[tsl] ERROR in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\components\shops.vue.ts(28,10) TS2564: Property 'searchVal' has no initializer and is not definitely assigned in the constructor.

error in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\components\board.vue.ts

[tsl] ERROR in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\components\board.vue.ts(21,10) TS2564: Property 'activities' has no initializer and is not definitely assigned in the constructor.

error in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\components\super_sale.vue.ts

[tsl] ERROR in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\components\super_sale.vue.ts(26,10) TS2564: Property 'superSales' has no initializer and is not definitely assigned in the constructor.

error in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\components\headline.vue.ts

[tsl] ERROR in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\components\headline.vue.ts(24,10) TS2564: Property 'login' has no initializer and is not definitely assigned in the constructor.

error in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\components\headline.vue.ts

[tsl] ERROR in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\components\headline.vue.ts(25,10) TS2564: Property 'headline' has no initializer and is not definitely assigned in the constructor.

error in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\components\modules.vue.ts

[tsl] ERROR in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\components\modules.vue.ts(22,10) TS2564: Property 'modules' has no initializer and is not definitely assigned in the constructor.

error in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\components\header.vue.ts

[tsl] ERROR in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\components\header.vue.ts(18,11) TS2564: Property 'setSearchVal' has no initializer and is not definitely assigned in the constructor.

error in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\views\main.vue.ts

[tsl] ERROR in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\views\main.vue.ts(36,10) TS2564: Property 'login' has no initializer and is not definitely assigned in the constructor.

error in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\views\main.vue.ts

[tsl] ERROR in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\views\main.vue.ts(37,11) TS2564: Property 'initAjax' has no initializer and is not definitely assigned in the constructor.

error in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\views\main.vue.ts

[tsl] ERROR in E:\My_project\Ts-vue\vue-typescript-dpapp-demo\src\views\main.vue.ts(38,11) TS2564: Property 'load' has no initializer and is not definitely assigned in the constructor.

wq93 avatar Jul 19 '18 03:07 wq93