I'm submitting a ...
[ *] bug report
What is the current behavior?
i use npm run prebuild:prod && npm run build:prod && npm run server:prod ,then i browse http://localhost:8080,then it is broken
this is the error log:
Uncaught TypeError: Cannot read property 'setGlobalVar' of null
at O (vendor.0d6cb39….bundle.js:1)
at Object.141 (main.f4f312d….bundle.js:1)
at n (polyfills.6792391….bundle.js:1)
at Object.475 (main.f4f312d….bundle.js:1)
at n (polyfills.6792391….bundle.js:1)
at window.webpackJsonp (polyfills.6792391….bundle.js:1)
at main.f4f312d….bundle.js:1
Same error.
Prod Modus: setGlobalVar. I have the same error.
who can resolve the error,I'm a newbie of this framework.waiting...
Same problem here
Uncaught TypeError: Cannot read property 'setGlobalVar' of null
at O (vendor.b067b1f….bundle.js:1)
at Object.141 (main.ea578d8….bundle.js:1)
at n (polyfills.fcb7067….bundle.js:1)
at Object.475 (main.ea578d8….bundle.js:1)
at n (polyfills.fcb7067….bundle.js:1)
at window.webpackJsonp (polyfills.fcb7067….bundle.js:1)
at main.ea578d8….bundle.js:1
Works fine with npm run build:dev
as a workaround you can comment the line disableDebugTools() in environments.ts file
Most helpful comment
Prod Modus: setGlobalVar. I have the same error.