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

    Laravel 9 Release Date and New Features

    kizinho

    Published

    on

    DEVELOPER PROGRAMMING: Laravel 9 Release Date and New Features [New  Developer Programming] » Naijacrawl
    Photo: Naijacrawl
    Laravel community has updated about the new release of another version of Laravel called laravel 9. With laravel 9 it brings new features that you will love and it will be released earlier next year in 2022 due to some dependencies of Symphony they depend on which will be available by November 2021 and Laravel normally gives 2 months after symphony updates to release a new version of laravel.Let's look at the new features Laravel introduced a new query builder which...
    Continue Reading

    Laravel Backup Your Mysql Database With Delete Old Files and Notification Functionalities

    kizinho

    Published

    on

    DEVELOPER PROGRAMMING: Laravel Backup Your Mysql Database With Delete Old Files and Notification Functionalities [New  Developer Programming] » Naijacrawl
    Photo: Naijacrawl
    Hi, folks am happy to share this with you as you already know how backing up your database is very important to avoid data loss, if you are looking for a way to backup your database using Laravel version 5 to 8, you are at the right place. At the end of this article I will provide the source code, GitHub repo and youtube video to make sure I put you through without facing any challenges, and if you face any don't forget to reach me via the comment box.How you will l...
    Continue Reading

    Latest


    Download Naijacrawl App today

    Fastest way to read on the go

    Download the Naijacrawl App.