Connect with us

How to Fix Npm Error (npm ERR! conflict Automatic conflict resolution failed. Please manually resolve conflicts in package-lock.json and try again)

kizinho

Published

on

Follow
NEWS: How to Fix Npm Error (npm ERR! conflict Automatic conflict resolution failed. Please manually resolve conflicts in package-lock.json and try again) [New  Developer] » Naijacrawl
Photo: Naijacrawl
site

Hi Folks today when i was working on a project , wanted to install NPM in my project, but encountered this errors saying .

 

npm ERR! conflict Automatic conflict resolution failed. Please manually resolve conflicts in package-lock.json and try again





npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\user\AppData\Roaming\npm-cache\_logs\2019-06-10T15_01_39_991Z-debug.log
PS C:\xampp\htdocs\oer_coalcity\ccu-oer> npm install --package-lock
npm WARN conflict A git conflict was detected in package-lock.json. Attempting to auto-resolve.

 

How I solved It

1. Run rm package-lock.json

 

2. Run npm install

 

3. Run git add package-lock.json

 

Thats how i got my npm installed in my project. 

 

Click Here To Comment


site


kizinho

Adike Kizito is a top-rated software developer, blogger, sports, and entertainment lover. He is the CEO of these popular websites Naijacrawl.com and Mp3ager.com. He operates his software developing task through Kizzsoft.com,... Read More

Continue Reading
Click to comment

Be first to comment


    Leave a Reply

    Your email address will not be published. Required fields are marked *

    NetBeans 8.2 AutoSave Fix

    kizinho

    Published

    on

    NEWS: NetBeans 8.2 AutoSave Fix [New  Developer] » Naijacrawl
    Photo: Naijacrawl
    Hi guys have you been battleing on how to use auto save on NetBeans 8.2 , this article will show you how to do it.   First Download the autosave file below:   on your Netbeans -> tools ->plugins -> downloaded -> add plugins   Select the file you downloaded below and install it, that's all   comment if this help you
    Continue Reading

    How to Design Comment Section with Reply, Like, and Unlike UI in Flutter

    kizinho

    Published

    on

    DEVELOPER PROGRAMMING: How to Design Comment Section with Reply, Like, and Unlike UI in Flutter [New  Developer Programming] » Naijacrawl
    Photo: Naijacrawl
    Hi, Folks I will share my journey to flutter when am designing naijacrawl, I made a nice looking comment section with like and reply and I want to share with you guys to see how I did it in Flutter.Flutter is an open-source mobile SDK developer that can use to build native-looking Android and iOS applications from the same code base. Flutter has been around since 2015 when Google introduced it and remained in the beta stage before its official launch in December 201...
    Continue Reading

    Mastering Laravel MVC (Model View Controller) and Folder Structures

    kizinho

    Published

    on

    DEVELOPER PROGRAMMING: Mastering Laravel MVC (Model View Controller) and Folder Structures [New  Developer Programming] » Naijacrawl
    Photo: Naijacrawl
    Hi, folks, we have successfully created the laravel project in the last class, if you missed it go back and create a new laravel project here.Before going to MVC (Model View Controller) let's serve up the project for development purposes using the following commandphp artisan serve output resultStarting Laravel development server: http://127.0.0.1:8000 incase if you want to serve your project from a different port number, use the following command belowphp artisan...
    Continue Reading

    Latest