• Hello everyone,
    When I recently tried to run a nodebb root command, or rather, anything that contains the command: ./nodebb.
    The following output is obtained:

    /bin/sh: 1: npm: not found
    Error installing dependencies!
    message: Command failed: npm install --production
    stdout: null
    stderr: null
    /home/levi/nodebb770/src/cli/package-install.js:82
                    throw e;
                    ^
    
    Error: Command failed: npm install --production
        at checkExecSyncError (child_process.js:629:11)
        at Object.execSync (child_process.js:666:13)
        at Object.installAll (/home/levi/nodebb770/src/cli/package-install.js:73:9)
        at Object.<anonymous> (/home/levi/nodebb770/src/cli/index.js:62:18)
        at Module._compile (internal/modules/cjs/loader.js:778:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
        at Module.load (internal/modules/cjs/loader.js:653:32)
        at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
        at Function.Module._load (internal/modules/cjs/loader.js:585:3)
        at Module.require (internal/modules/cjs/loader.js:692:17)
    

    Can anyone help me regarding this what exactly does it mean? And what is the solution?

    Specifically now I'm trying to run the .nodebb setup command

    urgent

    I'm willing to give the ssh keys for someone to do it for me ...
    @administrators

  • Global Moderator Plugin & Theme Dev

    @LEVI-HAVIV have you installed Nodejs? It appears the npm command (included when installing Nodejs) doesn't exist on your system.


Suggested Topics

| | |

© 2014 – 2022 NodeBB, Inc. — Made in Canada.