ionic-cli icon indicating copy to clipboard operation
ionic-cli copied to clipboard

Duplicate identifier 'export='.

Open brandon0keefe opened this issue 10 years ago • 2 comments

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.

brandon0keefe avatar Nov 22 '16 05:11 brandon0keefe

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

saade avatar Nov 24 '16 23:11 saade

Closing as this isn't an issue with Ionic CLI.

imhoffd avatar Jul 12 '18 19:07 imhoffd