How to resolve error: Could not install from “ns_npm_repository” as it does not contain package.json file

This error will come during npm install or npm i outh1 suitetalk


2 Possiblities:

This error will come due to dependencies and obviously this file is missing.
npm install express
or you have to add a package.json file and register your modules here. The easiest way to get such a file is to let npm create one by running
npm init
and need to add 
{
  "name": "myapp",
  "version": "0.0.1",
  "dependencies": {
    "express": "4.0.0"
  }
}
This is due to dependencies , when we deleted  node_modules and again install npm will occur this error ..

Leave a comment

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