Closed 3point14guy closed 7 years ago
did you npm install?
I did.
If you guys added a script tag to index.html for datatables, this could be causing the issue. I highly suggest linking to datatables using the npm package and not by linking to it in index.html. https://datatables.net/download/npm
Ok. That script is currently commented out on the branch I am working on.
Did commenting it out make the error go away?
That wasn't clear. It has been commented out the entire time.
In what file are you getting that error, and do you have script tags in your index.html?
This is a linter error in my events.js and api.js files.
The issue is because the files I am working on were no in my scripts folder. Moved files and error went away!
Thanks guys!!
I am getting a linter error: '$' is not defined. (no-undef)
I am getting this error in all my events and api files.
Google search suggests that something happened to my library or I am not requiring in the correct order. I feel it is the first possibility as I didn't make any changes to the script tags in the template.
package.json has jquery listed as a dependency.