skip to Main Content

I have just created a new laravel application to implement a chat app.
I wanted to scallfold the application using bootstrap but am getting this error :

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/33998 - Not found
npm ERR! 404 
npm ERR! 404  '33998@*' is not in this registry.
npm ERR! 404 

How can i solve it?

I tried running composer update to see if im missing some dependencies.
I was wrong.
I also runnpm install && npm run devit still did not work

2

Answers


  1. Try to run these commands:

    npm config set registry http://registry.npmjs.org

    npm -g install npm

    npm cache clean -f

    After that try to run your project with:

    npm run dev

    Login or Signup to reply.
  2. This error is just because of the package 33998 could not be found in the npm registry.

    For solution you need to install bootstrap package in your application manually.

    For installing BootStrap Use

    npm install bootstrap

    Also clean the cache of npm forcefully by

    npm cache clean –force

    Also check the latest npm version and update it if it was to old.

    npm -v

    npm install -g npm

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search