npm notice created a lockfile as package-lock.json. You should commit this file

后端 未结 8 2019
栀梦
栀梦 2020-12-09 01:06

I have been trying to load the skeleton of express with npm install express. It outputs the following line:

npm notice created a lockfil

相关标签:
8条回答
  • 2020-12-09 02:05

    came out of this issue by changing the version in package.json file and also changing the name of the package and finally deleted the package-lock.json file

    0 讨论(0)
  • 2020-12-09 02:09

    Check for package-lock.json file at C:\Windows\system32.

    If it doesn't exist, run cmd as admin and execute the following commands:

    Set EXPO_DEBUG=true
    npm config set package-lock false
    npm install
    
    0 讨论(0)
提交回复
热议问题