Tell us what’s happening:
Describe your issue in detail here.
In “Set up a Template Engine” section of “Advanced Node and Express” I am not able to pass the first test even though am able to pass the remaining ones.
I keep getting the error “Pug should be a dependency. (Test timed out)” or “Pug should be a dependency.” even though I have added it correctly as a dependency "devDependencies": { "nodemon": "^2.0.4", "pug": "^3.0.2" }
I used the command npm i --save pug@~3.0.0 on the command line to install it.
Even manually setting the dependency list to the following is not working "devDependencies": { "nodemon": "^2.0.4", "pug": "~3.0.0" } Your project link(s)
Thanks kevinSmith for your reply. It says dependency. I am copy pasting the response below: // running tests Pug should be a dependency. // tests completed
Thanks for pointing that out. Its now working. But just out of curiosity. How do you install a package to to dependencies and not to devdependecies? I used npm install pug and it went into devdependecies.