Need Help NPM Error

+1 vote
Error: Cannot find module '../lib/utils/unsupported.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:690:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at /usr/local/lib/node_modules/npm/bin/npm-cli.js:19:21
    at Object.<anonymous> (/usr/local/lib/node_modules/npm/bin/npm-cli.js:155:3)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
Oct 19, 2020 in Software Testing by Adisak
• 130 points

1 answer to this question.

0 votes
Try to remove /usr/local/lib/node_modules/npm and reinstall node again. This should work.
answered Oct 19, 2020 by Karan
• 19,620 points

Related Questions In Software Testing

+1 vote
1 answer
+2 votes
0 answers

"error": "unsupported_grant_type" is returned when sending post request with x-www-form-urlencoded

keywords.user_loads_a_Request("AdminLogin", CONFIG.getProperty("URI")+"api/login"); // Adminlogin file contains the ...READ MORE

Dec 17, 2019 in Software Testing by anonymous
• 140 points
+2 votes
0 answers

Hello. Iam testing a php script and i get a notice error how do i fix it?

A PHP Error was encountered Severity: Notice Message: Undefined ...READ MORE

Aug 28, 2020 in Software Testing by Titus
• 160 points

edited Aug 28, 2020 by Niroj 322 views
+1 vote
1 answer

Please help me sir

Hello, You can go through this for complete ...READ MORE

answered Oct 14, 2020 in Software Testing by Niroj
• 82,820 points
+1 vote
1 answer

Maven project file error occurs after creation

Hey, @Boopathy, Please be clear in explaining the ...READ MORE

answered Dec 21, 2020 in Software Testing by Shreesha N
0 votes
1 answer

I am getting a network related error saying "cannot connect to a server". need help here.

Actually i got the same error, it ...READ MORE

answered Apr 27, 2018 in Azure by null_void
• 3,220 points
+4 votes
2 answers

I am unable to connect Ganache with Truffle/Npm Dev server. Pls help.

The issue is at CurrentProvider. Give the url ...READ MORE

answered Mar 26, 2018 in Blockchain by Perry
• 17,100 points

edited Oct 11, 2018 by Omkar 1,123 views