I’m following the angular.cli example from here : https://www.jqwidgets.com/angular-components-documentation/documentation/angular-cli/angular-cli.htm?search=
I did the npm install, then i added the line in angular.json and in tsconfig.json like the guide told me. then added the stuff to module and the components i wanted to use jqWidgetes in. I got an error, app module not found, so i added app.module.ts in the “files” array of tsconfig.json but i keep getting this error message:
ERROR in error TS6053: File ‘C:/Users/martijn.v.d.bergh/dev/HTML5/centoview-HTML5/src/node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxbargauge.ts’ not found.
Which doenst make sense to me, because node_modules is not in src it’s in the root. This is how the files array looks like:
"files": [
"app/app.module.ts",
"node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxbargauge.ts"
]
I tried added a ‘/’ and ‘./’ before it but i get the same message.
What am I doing wrong?