Problem: “npm ERR! cb() never called! npm ERR! not ok code 0” when installing etherpad
on an Ubuntu 12.04.3:
adduser --system --home=/var/www/etherpad --group etherpad
apt-get install gzip git-core curl python libssl-dev build-essential abiword python-software-properties
add-apt-repository ppa:chris-lea/node.js
apt-get update; apt-get install -y nodejs
su - etherpad -s /bin/bash
git clone git://github.com/ether/etherpad-lite.git
cd etherpad-lite
sed -i 's/bin/installDeps.sh/sh bin/installDeps.sh/g' bin/run.sh
sh bin/run.sh
but when using sh bin/run.sh:
Ensure that all dependencies are up to date... If this is the first time you have run Etherpad please be patient.
npm ERR! cb() never called!
npm ERR! not ok code 0
Q: How can I resolve this problem? "npm cache clear didn't" helped. The FS is mounted with noexec. System is up-to-date.
nodejs
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
on an Ubuntu 12.04.3:
adduser --system --home=/var/www/etherpad --group etherpad
apt-get install gzip git-core curl python libssl-dev build-essential abiword python-software-properties
add-apt-repository ppa:chris-lea/node.js
apt-get update; apt-get install -y nodejs
su - etherpad -s /bin/bash
git clone git://github.com/ether/etherpad-lite.git
cd etherpad-lite
sed -i 's/bin/installDeps.sh/sh bin/installDeps.sh/g' bin/run.sh
sh bin/run.sh
but when using sh bin/run.sh:
Ensure that all dependencies are up to date... If this is the first time you have run Etherpad please be patient.
npm ERR! cb() never called!
npm ERR! not ok code 0
Q: How can I resolve this problem? "npm cache clear didn't" helped. The FS is mounted with noexec. System is up-to-date.
nodejs
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
on an Ubuntu 12.04.3:
adduser --system --home=/var/www/etherpad --group etherpad
apt-get install gzip git-core curl python libssl-dev build-essential abiword python-software-properties
add-apt-repository ppa:chris-lea/node.js
apt-get update; apt-get install -y nodejs
su - etherpad -s /bin/bash
git clone git://github.com/ether/etherpad-lite.git
cd etherpad-lite
sed -i 's/bin/installDeps.sh/sh bin/installDeps.sh/g' bin/run.sh
sh bin/run.sh
but when using sh bin/run.sh:
Ensure that all dependencies are up to date... If this is the first time you have run Etherpad please be patient.
npm ERR! cb() never called!
npm ERR! not ok code 0
Q: How can I resolve this problem? "npm cache clear didn't" helped. The FS is mounted with noexec. System is up-to-date.
nodejs
on an Ubuntu 12.04.3:
adduser --system --home=/var/www/etherpad --group etherpad
apt-get install gzip git-core curl python libssl-dev build-essential abiword python-software-properties
add-apt-repository ppa:chris-lea/node.js
apt-get update; apt-get install -y nodejs
su - etherpad -s /bin/bash
git clone git://github.com/ether/etherpad-lite.git
cd etherpad-lite
sed -i 's/bin/installDeps.sh/sh bin/installDeps.sh/g' bin/run.sh
sh bin/run.sh
but when using sh bin/run.sh:
Ensure that all dependencies are up to date... If this is the first time you have run Etherpad please be patient.
npm ERR! cb() never called!
npm ERR! not ok code 0
Q: How can I resolve this problem? "npm cache clear didn't" helped. The FS is mounted with noexec. System is up-to-date.
nodejs
nodejs
asked Sep 26 '13 at 7:45
gasko peter
267149
267149
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
For those seeing this 2013-09-27, there's an bug with the latest release of npm. Downgrading nodejs to 0.10.17 seems to solve the issue.
StackOverflow
add a comment |
npm shrinkwrap and then npm install worked for me.
add a comment |
It has been fixed in 0.10.20:
http://ghost.org/forum/installation/353-npm-err-cb-never-called
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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%2faskubuntu.com%2fquestions%2f350203%2fproblem-npm-err-cb-never-called-npm-err-not-ok-code-0-when-installing-et%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
For those seeing this 2013-09-27, there's an bug with the latest release of npm. Downgrading nodejs to 0.10.17 seems to solve the issue.
StackOverflow
add a comment |
For those seeing this 2013-09-27, there's an bug with the latest release of npm. Downgrading nodejs to 0.10.17 seems to solve the issue.
StackOverflow
add a comment |
For those seeing this 2013-09-27, there's an bug with the latest release of npm. Downgrading nodejs to 0.10.17 seems to solve the issue.
StackOverflow
For those seeing this 2013-09-27, there's an bug with the latest release of npm. Downgrading nodejs to 0.10.17 seems to solve the issue.
StackOverflow
edited May 23 '17 at 12:39
Community♦
1
1
answered Sep 27 '13 at 5:21
jrhorn424
1775
1775
add a comment |
add a comment |
npm shrinkwrap and then npm install worked for me.
add a comment |
npm shrinkwrap and then npm install worked for me.
add a comment |
npm shrinkwrap and then npm install worked for me.
npm shrinkwrap and then npm install worked for me.
answered Sep 27 '13 at 14:43
joeymiller
1
1
add a comment |
add a comment |
It has been fixed in 0.10.20:
http://ghost.org/forum/installation/353-npm-err-cb-never-called
add a comment |
It has been fixed in 0.10.20:
http://ghost.org/forum/installation/353-npm-err-cb-never-called
add a comment |
It has been fixed in 0.10.20:
http://ghost.org/forum/installation/353-npm-err-cb-never-called
It has been fixed in 0.10.20:
http://ghost.org/forum/installation/353-npm-err-cb-never-called
answered Oct 1 '13 at 10:27
Richard van Zon
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- 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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2faskubuntu.com%2fquestions%2f350203%2fproblem-npm-err-cb-never-called-npm-err-not-ok-code-0-when-installing-et%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