Sveta Antrapovich Sveta Antrapovich - 1 year ago 688
TypeScript Question

“Has no exported member ionicBootstrap” (ionic2 Typescript)

I have such an error: has no exported member ionicBootstrap.

ionicBootstrap was introduced in ionic-angular 2.0.0-beta.8. But I upgrade to the 2.0.0-beta.32 and the error is still remains. What will it can be?

Answer Source

I had this problem as well. It turned out that I had two typings ionic and cordova-ionic which appeared to be outdated. I installed the starter to see if I had the same problem did not. The starter project did not have those typings so I removed them and ran typings prune. After my project rebuilt the error was gone. It looks like the typings are included in the ionic-angular package from npm.

Also from the screenshot it posted it looks like you still have 2.0.0-beta.7. Try running npm install --save @2.0.0-beta.8

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download