npm install --legacy code example Example 1: install dependencies npm npm install Example 2: install node_modules folder npm install (with no args, in package dir)