Need Help NPM Error

0 votes
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 in Software Testing by Adisak
• 120 points
40 views

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 by Karan
• 19,570 points

Related Questions In Software Testing

0 votes
1 answer
+1 vote
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
• 130 points
349 views
+1 vote
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 in Software Testing by Titus
• 150 points

edited Aug 28 by Niroj 142 views
0 votes
1 answer

Please help me sir

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

answered Oct 14 in Software Testing by Niroj
• 76,540 points
31 views
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 26, 2018 in Azure by null_void
• 3,220 points
225 views
+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 859 views
0 votes
1 answer

Need help writing a dataframe into a csv with the help of a loop

Using the following logic you can arrive ...READ MORE

answered Apr 17, 2018 in Python by anonymous
2,119 views