I am not sure what I am doing wrong:
I am following the tutorial here, but I keep getting the following error:
ENOENT: no such file or directory,
After reviewing my error carefully:
C:\Users\andrewkp\Documents\VSCode\Projects\node_modules\jquery\dist\jquery.min.js'
I noticed that I was navigating to far back, as I can see above the path it is trying to read from is totally wrong, not including my project name at all.
The fix was to change:
"styles": [
"src/styles.css",
"../node_modules/bootstrap/dist/css/bootstrap.min.css"
],
"scripts": [
"../node_modules/jquery/dist/jquery.min.js",
"../node_modules/bootstrap/dist/js/bootstrap.min.js"
]
To:
"styles": [
"src/styles.css",
"node_modules/bootstrap/dist/css/bootstrap.min.css"
],
"scripts": [
"node_modules/jquery/dist/jquery.min.js",
"node_modules/bootstrap/dist/js/bootstrap.min.js"
]