In package.json I have:
{
"name": "projName",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"prestart": "node aspnetcore-https",
...
when I run npm start I get:
Error: Cannot find module '...\aspnetcore-https'
How can I install the module? If I try
npm install aspnetcore-https
I get:
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/aspnetcore-https - Not found
I have this line I think because I copied the packages.json from a Visual Studio Angular Typescript project into a Typescript only source code folder, but the latter folder project should still work if I install the correct package?
Update: the project runs correctly from npm start if I just remove the line
"prestart": "node aspnetcore-https",
but I'd like to understand why I can't install this module?
aspnetcore-httpspackage since it's not in npm registry.