我想从分叉的Ionic 2存储库构建演示。当我跑'gulp demos.build'
时
我的终端上出现以下错误:
ERRROR: Command failed: node --max_old_space_size=8096 /Users/luki/Applications/ionic-fork/ionic/node_modules/.bin/ngc -p /Users/luki/Applications/ionic-fork/ionic/demos/tsconfig.json
Error: Error at /Users/luki/Applications/ionic-fork/ionic/node_modules/@types/protractor/index.d.ts:22:27: Module 'webdriver' has no exported member 'IButton'.
Error at /Users/luki/Applications/ionic-fork/ionic/node_modules/@types/protractor/index.d.ts:25:24: Module 'webdriver' has no exported member 'IKey'.
Error at /Users/luki/Applications/ionic-fork/ionic/node_modules/@types/protractor/index.d.ts:28:45: Property 'Error' does not exist on type 'typeof error'.
我已安装' typings安装selenium-webdriver但它没有帮助。也许其他一些类型的东西都不见了......
有人对此有所了解吗?