You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sudo apt install node-grunt-cli
Then i run following command;
grunt
That gives me the following error;
internal/modules/cjs/loader.js:582
throw err;
^
Error: Cannot find module 'resolve'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
at Function.Module._load (internal/modules/cjs/loader.js:506:25)
at Module.require (internal/modules/cjs/loader.js:636:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/usr/lib/nodejs/grunt-cli/bin/grunt:9:15)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
What is the solution? What am i missing?
Best regards
The text was updated successfully, but these errors were encountered:
Hello,
I am trying to install on aws server. First i installed npm to the server and then followed instructions;
And then i installed grunt with:
That gives me the following error;
What is the solution? What am i missing?
Best regards
The text was updated successfully, but these errors were encountered: