Node.js and npm packages

i import freecodecamp node.js and npm packages from github working on it but can’t add dependencies name “moment”: “4.14.0”
what should i do.
need help.

you should do it like “moment”: “^4.14.0”

1 Like

Hi, you can add a package by clicking on the “Add Package” button in your package.json file.

https://help.glitch.com/kb/article/42-how-do-i-add-an-npm-module-or-package-to-my-project/

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.