nextjs-starter
nextjs-starter copied to clipboard
Cloning and installing packages is failing because package-lock.json is present
Describe the bug When you run the steps documented under Running locally in development mode, it will fail installing the packages because package-lock.json is present.
In order to fix this you can either:
- Remove package-lock.json before you run
npm install
- Stop tracking
package-lock.json
so you don't need to runrm package-lock.json
beforenpm install
.
To Reproduce Run the commands documented under section: Running locally in development mode.
Expected behavior I want to be able to run the commands documented under section: Running locally in development mode without errors.
Node version, NPM version and Operating System and version
Node 13.1.0 npm 6.13.1 macOS 10.15.1