-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Duplicate identifier 'export=' #562
Comments
@JimTheMan are you on the latest version of angular. one of the options you can try is removing the following entry from src/tsconfig.json, which actually is not recommended as per installation guide. "types": [ |
Hi @mukesh51! Thanks, but I already have "types":[ in the tsconfig.json file. I tried with Angular 2.0.0 and 2.0.1 |
Can you show your code with plnkr. also do you want to try removing that entry mentioned above and see how it looks. |
I'm getting the same error after removing it. It would be hard for me to fit it into a plunkr, but it is an angular cli project. You can see the source code here: https://github.com/ParkBoys/Park-Boys-Bootcamp/tree/master/4-Firebase-Rooms/project |
@JimTheMan I suspect something to do with your node_modules. Can you try deleting and re-installing your node_modules. Also put this entry back in your src/tsconfig.json. Look at the troubleshooting section of install guide. Also, what output do you see, when you execute the following command "ng -v" |
@mukesh51 Thanks, but I'm still getting the same error. :'( I've been deleting and reinstalling node_modules this whole time. I am getting this error now though on npm i: Then when I try ng -v returns this: |
@JimTheMan This was called out here issue 520 and it was resolved by upgrading the angular-cli version, but not necessarily that is the solution. You can safely remove the firebase entry from types array. See issues 525 @jeffbcross @davideast any thoughts ? |
That thread doesn't really give me anything else to try. :/ |
@JimTheMan Are you still having this problem? It should have been fixed in the last release. |
Hi @davideast ! Sorry, I actually moved my project over to angular cli so I'm not sure. :/ I can try it, but for now I'll close the issue. Thanks. |
hello @davideast ! And when im trying -->const promise = firebase.auth().createUserWithEmailAndPassword(this.email,this.password) im getting firebase is not defined ! |
Error at D:/hence/angular2-webpack-seed/node_modules/@types/node/index.d.ts:5957:5: Duplicate identifier 'export='. This is error, how should i resolve it? |
When I run
ng serve
or ngbuild
I get an error saying, "Duplicate identifier 'export='.", and it's complaining about the node_modules/firebase/firebase.d.ts file:in my package.json:
angular: 2.0.1
"angularfire2": "^2.0.0-beta.5",
"core-js": "^2.4.1",
"firebase": "^3.4.0",
Any ideas on how to fix? Anyone else getting this? thanks? :)
The text was updated successfully, but these errors were encountered: