Issue
Is there a way to disable all sorts of minification/uglification in the SERVE process, so it doesn't rename class names that are part of the error message?
It's the last Angular14 version.
Error message I'm receiving:
NullInjectorError: R3InjectorError(i)[e -> InjectionToken Application Initializer -> [object Object] -> j -> b -> Tt -> J -> Tt -> Tt -> Tt]: NullInjectorError: No provider for Tt!
Solution
The serve process should NOT minify and uglify your code.
If it does, check your angular.json
file and in the serve part, set this
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
Answered By - MGX
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.