Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Package Manager Console hangs on npm init

$
0
0

so I'm trying to run a basic npm install in NuGet and when I ran 'npm init' it hangs right after getting this far:

This utility will walk you through creating a package.json file.
It only covers the most common items, and tries to guess sensible defaults.

See `npm help json` for definitive documentation on these fields
and exactly what they do.

Use `npm install <pkg>` afterwards to install a package and
save it as a dependency in the package.json file.

Press ^C at any time to quit.

at this point it will not respond to any commands, and ^C does not do anything.

I have tried reinstalling npm, updating npm, closing and reopening Visual Studio 2019, no dice. All the help I can find says that this was an issue a couple years ago, but that the fix was either to revert a recent npm update or just wait for a new version to be released so I'm not sure why I'm seeing it in 2020.

I was able to get my package.json installed using 'npm init -y' so i don't think this is hurting my project but i would still like to make sure there isn't anything totally wrong with my setup


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>