Reputation: 1
I've been beating my head around this for days. My work place has a project on TFS. I download the project and run the following cli commands to modify the application to my environment.
cd
to .\ClientApp
npm install
npm install --save jquery popper.js moment [email protected] @angular/material @angular/cdk ajv @fortawesome/fontawesome @fortawesome/fontawesome-free-regular @fortawesome/fontawesome-free-solid @angular/material-moment-adapter @angular/[email protected] @angular/[email protected] @angular/[email protected]
I get the error
Error in error: Couldn't resolve original symbol for ./src/debug/debug_node from D:/src/Expenser/ClientApp/node_modules/@angular/core/core.d.ts aaaaat D:\src\Expenser\ClientApp\node_modules\@angular\compiler\bundles\compiler.umd.js:29542.....
If I have a co worker zip the folder and give it to me it works fine. But this is not a real solution. I have tons of projects here and I need to be able to download these deals from TFS and go. I should not have to hunt through file systems and cli commands to figure out what to do or why it doesn't.
Upvotes: 0
Views: 4630
Reputation: 39
This should work fine.
Try installing the core in your local machine. Below is the command. Run it in your terminal.
----- npm install @angular/core
Let me know if it helps
Upvotes: 3
Reputation: 41
I just had the same issue, the reason the zip file works and the source control doesn't work is because your source control is ignoring the files in the folders that contain the word "debug".
This explains the message:
Error in error: Couldn't resolve original symbol for ./src/debug/debug_node
As the code for "debug_node" can't be found.
The fact that angular uses the word "debug" in folders all over the place is very annoying. There may be other keywords that your source control is ignoring too.
I recommend using a file comparison tool such as "Beyond Compare" to see all the differences between what is in your source control and what you have from the zip file.
Upvotes: 1