Problem: “npm ERR! cb() never called! npm ERR! not ok code 0” when installing etherpad











up vote
3
down vote

favorite
1












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.










share|improve this question


























    up vote
    3
    down vote

    favorite
    1












    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.










    share|improve this question
























      up vote
      3
      down vote

      favorite
      1









      up vote
      3
      down vote

      favorite
      1






      1





      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.










      share|improve this question













      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Sep 26 '13 at 7:45









      gasko peter

      267149




      267149






















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          0
          down vote













          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






          share|improve this answer






























            up vote
            0
            down vote













            npm shrinkwrap and then npm install worked for me.






            share|improve this answer




























              up vote
              -1
              down vote













              It has been fixed in 0.10.20:
              http://ghost.org/forum/installation/353-npm-err-cb-never-called






              share|improve this answer





















                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',
                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
                });


                }
                });














                draft saved

                draft discarded


















                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








                up vote
                0
                down vote













                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






                share|improve this answer



























                  up vote
                  0
                  down vote













                  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






                  share|improve this answer

























                    up vote
                    0
                    down vote










                    up vote
                    0
                    down vote









                    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






                    share|improve this answer














                    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







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited May 23 '17 at 12:39









                    Community

                    1




                    1










                    answered Sep 27 '13 at 5:21









                    jrhorn424

                    1775




                    1775
























                        up vote
                        0
                        down vote













                        npm shrinkwrap and then npm install worked for me.






                        share|improve this answer

























                          up vote
                          0
                          down vote













                          npm shrinkwrap and then npm install worked for me.






                          share|improve this answer























                            up vote
                            0
                            down vote










                            up vote
                            0
                            down vote









                            npm shrinkwrap and then npm install worked for me.






                            share|improve this answer












                            npm shrinkwrap and then npm install worked for me.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Sep 27 '13 at 14:43









                            joeymiller

                            1




                            1






















                                up vote
                                -1
                                down vote













                                It has been fixed in 0.10.20:
                                http://ghost.org/forum/installation/353-npm-err-cb-never-called






                                share|improve this answer

























                                  up vote
                                  -1
                                  down vote













                                  It has been fixed in 0.10.20:
                                  http://ghost.org/forum/installation/353-npm-err-cb-never-called






                                  share|improve this answer























                                    up vote
                                    -1
                                    down vote










                                    up vote
                                    -1
                                    down vote









                                    It has been fixed in 0.10.20:
                                    http://ghost.org/forum/installation/353-npm-err-cb-never-called






                                    share|improve this answer












                                    It has been fixed in 0.10.20:
                                    http://ghost.org/forum/installation/353-npm-err-cb-never-called







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered Oct 1 '13 at 10:27









                                    Richard van Zon

                                    1




                                    1






























                                        draft saved

                                        draft discarded




















































                                        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.




                                        draft saved


                                        draft discarded














                                        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





















































                                        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







                                        Popular posts from this blog

                                        How did Captain America manage to do this?

                                        迪纳利

                                        南乌拉尔铁路局