I am facing a strange problem here with my git-bash and my terminal when I am trying to use npm install
. I get this error:
Someone told me to clear my caches and I did so, but in my case it just changed and now I get no error message. The installing process is never done and I get something like this:
The public npm registry is a database of JavaScript packages, each comprised of software and metadata. Open source developers and developers at companies use the npm registry to contribute packages to the entire community or members of their organizations, and download packages to use in their own projects.
The default is typically set to the public npm registry at https://registry.npmjs.org/ . For more information about npm configuration files, see the npm config file documentation.
Step 1: Delete package-lock.json
file from your project
Step 2: If your npm version is 5 and above. Then run the following command
npm cache verify
Step 3: Then run your parcel bunder
npm install -g parcel-bundler
or
npm install --save-dev parcel-bundler babel-preset-env
Hopefully it should work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With