I have recently added the following packages to my Angular 10 project:
@auth0/angular-jwt
ngx-cookie-service
When I installed the first one, I had a “severe” security warning, which invited me to to an audit on my npm install.
So I did it.
Since then, when I build my project with “ng serve –open”, I have a message:
[angular-ide] Unable to change tsc target
However, the build runs find and I can test the app.
But I have two problems.
First, when there is an error in my code, for instance if I rename a method and this method is used in other Angular services or components, I am no longer warned of it in MyEclipse.
Before, I had a red marker before each file which was invalid, which was very useful since I did not have to wait for the end of the build to fix these errors.
Second problem, and this one is really frustrating, I cannot longer build localized versions of my app using the command:
MSYS_NO_PATHCONV=1 node_modules/.bin/ng build –prod –baseHref=”/console”
I get the following error:
Localized bundle generation failed: Cannot read property ‘cooked’ of undefined
Do you know how to fix this?
Maybe I could solve these issues by going back to my old configuration, i.e. running with another tsc target, but I don’t know how to proceed.