Error Node MODULE NOT FOUND

0 votes

I just upgraded to node version 9.0.0 and am now getting this error in the command line when trying to use npm install

npm ERR! code MODULE_NOT_FOUND
npm ERR! Cannot find module 'internal/util/types'

I'm using:

  • OSX 10.10.5
  • Node version 9.0.0
  • NPM version 5.5.1

I am also trying to do this with a Laravel 5.5 project.

Sep 25, 2020 in Laravel by kartik
• 37,530 points
2,308 views

1 answer to this question.

0 votes

Hello @kartik,

run

rm -rf /usr/local/lib/node_modules/npm 

and then re-install Node.js will work in most cases

Hope it helps!!

Thank You!!

answered Sep 25, 2020 by Niroj
• 82,820 points

Related Questions In Laravel

0 votes
1 answer

Error:Composer Out of memory in Laravel?

Hey @kartik, This Error  happens in almost all ...READ MORE

answered Mar 30, 2020 in Laravel by Niroj
• 82,820 points
5,596 views
0 votes
1 answer

Error: 'Unchecked runtime.lastError: The message port closed before a response was received' chrome issue?

Hii, I had same problem when responding on ...READ MORE

answered Mar 30, 2020 in Laravel by Niroj
• 82,820 points
28,124 views
0 votes
1 answer

Error:My Routes are Returning a 404 in Laravel?

Hii @kartik Routes Use them to define specific routes ...READ MORE

answered Mar 30, 2020 in Laravel by Niroj
• 82,820 points
10,404 views
+1 vote
1 answer

Error [PDOException]: Could not Find Driver in PostgreSQL?

Hii, I got this problem too. I have ...READ MORE

answered Mar 31, 2020 in Laravel by Niroj
• 82,820 points
15,161 views
+1 vote
1 answer

How to make anchor tag with routing using Laravel?

Hey @kartik, First you have to go to ...READ MORE

answered Mar 18, 2020 in Laravel by Niroj
• 82,820 points
9,822 views
0 votes
1 answer

What is redirection in Laravel?

Named route is used to give specific ...READ MORE

answered Mar 18, 2020 in Laravel by Niroj
• 82,820 points
1,094 views
0 votes
1 answer

How to install Laravel via composer?

Hello, This is simple you just need to ...READ MORE

answered Mar 23, 2020 in Laravel by Niroj
• 82,820 points
879 views
+1 vote
1 answer

What are named routes in Laravel and How can specify route names for controller actions?

Hey @kartik, Named routing is another amazing feature of ...READ MORE

answered Mar 23, 2020 in Laravel by Niroj
• 82,820 points
10,956 views
0 votes
1 answer

Error:login in Laravel. How to solve?

Hey, First check if your model login has a field password in ...READ MORE

answered Mar 26, 2020 in Laravel by Niroj
• 82,820 points
2,529 views
0 votes
2 answers

Error:Laravel Installation failed, reverting ./composer.json to its original content.?

Hello, You need to install php zip extension. Something ...READ MORE

answered Mar 26, 2020 in Laravel by Niroj
• 82,820 points
16,756 views