nextjs-starter icon indicating copy to clipboard operation
nextjs-starter copied to clipboard

Cloning and installing packages is failing because package-lock.json is present

Open renatorozas opened this issue 5 years ago • 0 comments

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:

  1. Remove package-lock.json before you run npm install
  2. Stop tracking package-lock.json so you don't need to run rm package-lock.json before npm 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

renatorozas avatar Nov 26 '19 16:11 renatorozas