![]() Install the package in the directory as a symlink in the current project. NOTE: The -production flag has no particular meaning when adding a To install all modules listed in both dependenciesĪnd devDependencies when NODE_ENV environment variable is set to production, Is set to production), npm will not install modules listed inĭevDependencies. With the -production flag (or when the NODE_ENV environment variable It installs the current package context (ie, the current workingīy default, npm install will install all modules listed as dependencies In global mode (ie, with -g or -global appended to the command), Install the dependencies in the local node_modules folder. Npm install (in package directory, no arguments): Perhaps if you also want to be able to easily install it elsewhere
0 Comments
Leave a Reply. |