-
Notifications
You must be signed in to change notification settings - Fork 2
Using npm i
Austin Sullivan edited this page Feb 1, 2021
·
2 revisions
When using npm i make sure that you are in the correct directory for the package installation before running the install command.
- frontend packages should be added from the
/frontend
directory - backend packages should be added from the
/backend
directory
If you are currently in the root CoC directory and need to add the prop-types
package to the project dependencies for a frontend component, from the terminal:
cd frontend/
npm i prop-types
no-extraneous-dependencies / <package> should be listed in the project's dependencies