JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › Grid and Table Uncaught ReferenceError › Reply To: Grid and Table Uncaught ReferenceError
Hi Peter:
Thank you for your prompt response.
I just followed the instructions in the page Using with Angular CLI here https://www.htmlelements.com/docs/angular-cli/
After I added the smart-webcomponent-angular to the newly created project I proceeded to add the import for the GridModule in the app.module.ts and saved the file. Then I ran ng serve with only modifying app.module.ts, no other files were modified. The error showed.
Here is the error log:
Navigated to http://localhost:4200/
localhost/:12 GET http://localhost:4200/styles.css net::ERR_CACHE_READ_FAILURE 200 (OK)
zone-evergreen.js:2863 XHR finished loading: GET “http://localhost:4200/sockjs-node/info?t=1619625912635”.
scheduleTask @ zone-evergreen.js:2863
scheduleTask @ zone-evergreen.js:393
scheduleTask @ zone-evergreen.js:221
scheduleMacroTask @ zone-evergreen.js:244
scheduleMacroTaskWithCurrentZone @ zone-evergreen.js:679
(anonymous) @ zone-evergreen.js:2896
proto. @ zone-evergreen.js:975
AbstractXHRObject._start @ sockjs.js:1609
(anonymous) @ sockjs.js:1498
timer @ zone-evergreen.js:2561
invokeTask @ zone-evergreen.js:406
runTask @ zone-evergreen.js:178
invokeTask @ zone-evergreen.js:487
ZoneTask.invoke @ zone-evergreen.js:476
data.args. @ zone-evergreen.js:2541
setTimeout (async)
scheduleTask @ zone-evergreen.js:2543
scheduleTask @ zone-evergreen.js:393
scheduleTask @ zone-evergreen.js:221
scheduleMacroTask @ zone-evergreen.js:244
scheduleMacroTaskWithCurrentZone @ zone-evergreen.js:679
(anonymous) @ zone-evergreen.js:2585
proto. @ zone-evergreen.js:975
AbstractXHRObject @ sockjs.js:1497
XHRLocalObject @ sockjs.js:2918
InfoAjax @ sockjs.js:356
InfoReceiver._getReceiver @ sockjs.js:536
InfoReceiver.doXhr @ sockjs.js:556
(anonymous) @ sockjs.js:525
setTimeout (async)
InfoReceiver @ sockjs.js:524
SockJS @ sockjs.js:734
SockJSClient @ SockJSClient.js:43
initSocket @ socket.js:20
(anonymous) @ client:176
QM51 @ polyfills.js:2400
__webpack_require__ @ bootstrap:79
1 @ index.js:4
__webpack_require__ @ bootstrap:79
checkDeferredModules @ bootstrap:45
webpackJsonpCallback @ bootstrap:32
(anonymous) @ polyfills.js:1
smart.grid.js:2 Uncaught ReferenceError: regeneratorRuntime is not defined
at smart.grid.js:2
at Object.5500 (smart.grid.js:2)
at a (smart.grid.js:2)
at smart.grid.js:2
at smart.grid.js:2
at Object.YyTx (smart.grid.js:2)
at __webpack_require__ (bootstrap:79)
at Module.c/Pm (vendor.js:9885)
at __webpack_require__ (bootstrap:79)
at Module.ZAI4 (app.module.ts:2)
(anonymous) @ smart.grid.js:2
5500 @ smart.grid.js:2
a @ smart.grid.js:2
(anonymous) @ smart.grid.js:2
(anonymous) @ smart.grid.js:2
YyTx @ smart.grid.js:2
__webpack_require__ @ bootstrap:79
c/Pm @ vendor.js:9885
__webpack_require__ @ bootstrap:79
ZAI4 @ app.module.ts:2
__webpack_require__ @ bootstrap:79
zUnb @ main.js:473
__webpack_require__ @ bootstrap:79
0 @ main.js:11
__webpack_require__ @ bootstrap:79
checkDeferredModules @ bootstrap:45
webpackJsonpCallback @ bootstrap:32
(anonymous) @ main.js:1
client:52 [WDS] Live Reloading enabled.
Any idea why this is happening?
Thanks,
Eric