jkchao / blog-admin

blog-admin @react、@typescript、@apollographql
https://admin.jkchao.cn
233 stars 52 forks source link

跑不起来 #11

Closed alive-z closed 6 years ago

alive-z commented 6 years ago

$ npm run dev

admin@1.0.0 dev G:\GitHub\vue-admin webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

94% asset optimization ERROR Failed to compile with 12 errors13:38:37
error in G:\GitHub\vue-admin\src\pages\Links\Index.vue.tsx

[tsl] ERROR in G:\GitHub\vue-admin\src\pages\Links\Index.vue.tsx(188,24) TS2339: Property 'assign' does not exist on type 'typeof Object'.

error in G:\GitHub\vue-admin\src\pages\Links\Index.vue.tsx

[tsl] ERROR in G:\GitHub\vue-admin\src\pages\Links\Index.vue.tsx(222,27) TS2339: Property 'assign' does not exist on type 'typeof Object'.

error in G:\GitHub\vue-admin\src\pages\Book\Index.vue.tsx

[tsl] ERROR in G:\GitHub\vue-admin\src\pages\Book\Index.vue.tsx(291,24) TS2339: Property 'assign' does not exist on type 'typeof Object'.

error in G:\GitHub\vue-admin\src\pages\Book\Index.vue.tsx

[tsl] ERROR in G:\GitHub\vue-admin\src\pages\Book\Index.vue.tsx(326,27) TS2339: Property 'assign' does not exist on type 'typeof Object'.

error in G:\GitHub\vue-admin\src\pages\Tags\Index.vue.tsx

[tsl] ERROR in G:\GitHub\vue-admin\src\pages\Tags\Index.vue.tsx(144,24) TS2339: Property 'assign' does not exist on type 'typeof Object'.

error in G:\GitHub\vue-admin\src\pages\Tags\Index.vue.tsx

[tsl] ERROR in G:\GitHub\vue-admin\src\pages\Tags\Index.vue.tsx(178,27) TS2339: Property 'assign' does not exist on type 'typeof Object'.

环境 node: v8.6.0 npm: 5.3.0

jkchao commented 6 years ago

@D-Lover 可以简单的断言一下(<any>Object).assign()