webix-hub / angular2-demo

Demo of Webix usage with Angular 2
http://webix.com
16 stars 10 forks source link

npm run start 后报错 #4

Open lixiaoyanlee opened 7 years ago

lixiaoyanlee commented 7 years ago

image

mueller-mps commented 7 years ago

@lixiaoyanlee Have the same problem. Workaround: in file ..node_modules\@types\webix\index.d.ts change icons?: boolean|object; to icons?: boolean|Object;

lixiaoyanlee commented 7 years ago

我已经改好了,改的是:package.json 文件,

"scripts": { "start": "tsc && concurrently \"tsc -w\" \"lite-server\" ", "lite": "lite-server", "tsc": "tsc", "tsc:w": "tsc -w" },改为:"scripts": { "start": "concurrently \"tsc -w\" \"lite-server\" ", "lite": "lite-server", "tsc": "tsc", "tsc:w": "tsc -w" }, 也不报错了 不知道是不是这个原因