install cordova npm hangs in loadRequestedDeps in linux OS
I am new here for asking question. If any mistake, pls forgive and correct me.
I'm trying to install Cordova on my linux ubuntu 18.04 PC.
I tried installing NodeJS and executing sudo npm install -g cordova, as suggested in Cordova docs, and it takes forever.
The output is as follows:
npm install -g -d cordova
i hangs on the line
loadRequestedDeps
it has stay there forever. I launched it at 10pm yesterday, and still now it is still there.
I already saw this question but the question was for windows.
The PC is an Intel i3, with 4GB RAM and a Hp probook 440g1.
Why is this happening? Is there a way I can fix it?
linux ubuntu apache-cordova
add a comment |
I am new here for asking question. If any mistake, pls forgive and correct me.
I'm trying to install Cordova on my linux ubuntu 18.04 PC.
I tried installing NodeJS and executing sudo npm install -g cordova, as suggested in Cordova docs, and it takes forever.
The output is as follows:
npm install -g -d cordova
i hangs on the line
loadRequestedDeps
it has stay there forever. I launched it at 10pm yesterday, and still now it is still there.
I already saw this question but the question was for windows.
The PC is an Intel i3, with 4GB RAM and a Hp probook 440g1.
Why is this happening? Is there a way I can fix it?
linux ubuntu apache-cordova
add a comment |
I am new here for asking question. If any mistake, pls forgive and correct me.
I'm trying to install Cordova on my linux ubuntu 18.04 PC.
I tried installing NodeJS and executing sudo npm install -g cordova, as suggested in Cordova docs, and it takes forever.
The output is as follows:
npm install -g -d cordova
i hangs on the line
loadRequestedDeps
it has stay there forever. I launched it at 10pm yesterday, and still now it is still there.
I already saw this question but the question was for windows.
The PC is an Intel i3, with 4GB RAM and a Hp probook 440g1.
Why is this happening? Is there a way I can fix it?
linux ubuntu apache-cordova
I am new here for asking question. If any mistake, pls forgive and correct me.
I'm trying to install Cordova on my linux ubuntu 18.04 PC.
I tried installing NodeJS and executing sudo npm install -g cordova, as suggested in Cordova docs, and it takes forever.
The output is as follows:
npm install -g -d cordova
i hangs on the line
loadRequestedDeps
it has stay there forever. I launched it at 10pm yesterday, and still now it is still there.
I already saw this question but the question was for windows.
The PC is an Intel i3, with 4GB RAM and a Hp probook 440g1.
Why is this happening? Is there a way I can fix it?
linux ubuntu apache-cordova
linux ubuntu apache-cordova
asked Feb 8 at 3:26
Arif ImranArif Imran
11
11
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I solved this.
I install latest nodejs from nodejs website: download and install .tar file to a directory where you want to install.
then run
sudo npm init
- then force npm clear cache
sudo npm cache clean --force
- install cordova latest
sudo npm install -g cordova@latest
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1403388%2finstall-cordova-npm-hangs-in-loadrequesteddeps-in-linux-os%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I solved this.
I install latest nodejs from nodejs website: download and install .tar file to a directory where you want to install.
then run
sudo npm init
- then force npm clear cache
sudo npm cache clean --force
- install cordova latest
sudo npm install -g cordova@latest
add a comment |
I solved this.
I install latest nodejs from nodejs website: download and install .tar file to a directory where you want to install.
then run
sudo npm init
- then force npm clear cache
sudo npm cache clean --force
- install cordova latest
sudo npm install -g cordova@latest
add a comment |
I solved this.
I install latest nodejs from nodejs website: download and install .tar file to a directory where you want to install.
then run
sudo npm init
- then force npm clear cache
sudo npm cache clean --force
- install cordova latest
sudo npm install -g cordova@latest
I solved this.
I install latest nodejs from nodejs website: download and install .tar file to a directory where you want to install.
then run
sudo npm init
- then force npm clear cache
sudo npm cache clean --force
- install cordova latest
sudo npm install -g cordova@latest
answered Feb 8 at 18:49
Arif ImranArif Imran
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1403388%2finstall-cordova-npm-hangs-in-loadrequesteddeps-in-linux-os%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown