Duplicate identifier 'export='.
Hi, I recently updated ionic when I run ionic serve --lab I get the following error...
ionic-app-scripts watch [23:52:47] ionic-app-scripts 0.0.43 [23:52:47] watch started ... [23:52:47] build dev started ... [23:52:47] clean started ... [23:52:47] clean finished in 7 ms [23:52:47] copy started ... [23:52:47] transpile started ... [23:52:53] typescript: node_modules/firebase/firebase.d.ts, line: 405
Duplicate identifier 'export='.
[23:52:53] typescript: typings/modules/firebase/index.d.ts, line: 498
Duplicate identifier 'export='.
[23:52:53] build dev failed: Cannot read property 'length' of undefined
[23:52:54] watch ready in 6.66 s [23:52:54] copy finished in 6.65 s
Thanks for any help.
Go to:
node_modules/firebase/
and see if this folder has index.d.ts and firebase.d.ts, if yes, then delete the file firebase.d.ts, because its contents is the same as index.d.ts, thats why causing this error
Closing as this isn't an issue with Ionic CLI.