Closed osamax2 closed 4 years ago
Seems that the issue is more related to angular-cli than this project, as your webpack config override do not seems to work, seeing your error.
You might also try to set/add "types": ["node"]
in your tsconfig, but I'm not sure it's a typing issue here.
@sinedied I tried node in tsconfig Not working
I think your best bet would be to report this to https://github.com/just-jeb/angular-builders, as the custom webpack config part does not seem to be working here.
Closing as it's not directly related to this project.
I'm submitting a...
Current behavior
'global is not defined'
Expected behavior
start the App normal without issue
Minimal reproduction of the problem with instructions
After install ngx new app with cordova configuration I installed my libraries like 'chartjs , coaty,...' when i started the app it worked
and everything was working fine thin I start implement my libraries in code just i put some code like this in main.js
After that I started the App one more time with Compiled successfully. but it will not render the App in browser and the console in browser like this
my libraries use (process, global, Buffer, etc.) are required by MQTT.js I treid do this but it is not working in angular.json file
the webpack.node-polyfills.config.js content
what can i do ???
Environment
Others: