Steroids error: "Your Node.js version is outdated" while using newest node version

1.1k views Asked by At

I am trying to install steroids. Steroids depends on node version 0.10, but when I try to install it with node 0.10.38 (currently the most recent version of 0.10) it returns me an error, that my node is outdated.

Why does it tell me that my node version is outdated, when I am using the most recent version of 0.10?

    $ node -v
    v0.10.38

    $ npm -v
    2.11.3

    $ npm install steroids
    /
    > [email protected] preinstall /home/jl/node_modules/steroids
    > node ./bin/preinstall.js || nodejs ./bin/preinstall.js




    AppGyver Steroids² 4.1.9 installation

    If you have any problems, please visit our forums at http://forums.appgyver.com
    We are now trying to detect required dependencies and problems.
    Some dependencies (like dtrace-provider) will print ugly warnings to the screen, but everything should be fine.

      - The AppGyver team ([email protected])


    Starting installation in ...
    3
    2
    1
    Lift-off!


    Checking for compatibility with Node.js version v0.10.38 ... OK

    Checking for required components ...

      Found gcc, good.
      Found make, good.
      Found git, good.

    Dependencies ... OK

    Checking $HOME/.npm ownership, making sure that 'jl' owns everything ... OK
    Checking $HOME/.npm write acess, making sure that 'jl' has write access ... OK

    Dependencies and permissions looks good! Starting Steroids installation...

    npm WARN peerDependencies The peer dependency yo@>=1.0.0 included from generator-steroids will no
    npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
    npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
    npm WARN optional dep failed, continuing [email protected]
    npm WARN deprecated [email protected]: the module is now available as 'css-select'
    npm WARN deprecated [email protected]: the module is now available as 'css-what'
    npm ERR! registry error parsing json

    > [email protected] postinstall /home/ml/node_modules/steroids/node_modules/yo/node_modules/cross-spawn/node_modules/spawn-sync
    > node postinstall

    -
    > [email protected] postinstall /home/ml/node_modules/steroids/node_modules/yo
    > yodoctor


    Yeoman Doctor
    Running sanity checks on your system

    ✔ Global configuration file is valid
    ✔ No .bowerrc file in home directory
    ✔ NODE_PATH matches the npm root
    ✖ Node.js version

    Your Node.js version is outdate.
    Upgrade to the latest version: https://nodejs.org

    ✔ No .yo-rc.json file in home directory
    ✖ npm version

    Your npm version is outdated.

    Upgrade to the latest version by running:
    npm install -g npm


    Found potential issues on your machine :(
    [email protected] node_modules/steroids
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected] ([email protected], [email protected])
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected] ([email protected])
    ├── [email protected] ([email protected], [email protected])
    ├── [email protected]
    ├── [email protected]
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected])
    ├── [email protected] ([email protected])
    ├── [email protected]
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected])
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
    ├── [email protected] ([email protected], [email protected], [email protected])
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
    ├── [email protected] ([email protected], [email protected])
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected])
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
    ├── [email protected] ([email protected])
    ├── [email protected]
    ├── [email protected]
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
    ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
    └── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

Steroids explicitly doesn't support node 0.12

    $ nvm use 0.12
    Now using node v0.12.4 (npm v2.10.1)
    $ npm install steroids
    \
    > [email protected] preinstall /home/jl/P/node_modules/steroids
    > node ./bin/preinstall.js || nodejs ./bin/preinstall.js




    AppGyver Steroids² 4.1.9 installation

    If you have any problems, please visit our forums at http://forums.appgyver.com
    We are now trying to detect required dependencies and problems.
    Some dependencies (like dtrace-provider) will print ugly warnings to the screen, but everything should be fine.

      - The AppGyver team ([email protected])


    Starting installation in ...
    3
    2
    1
    Lift-off!


    Checking for compatibility with Node.js version v0.12.4 ...
      __________________  ___________
    _/ __ \_  __ \_  __ \/  _ \_  __ \
    \  ___/|  | \/|  | \(  <_> )  | \/
     \___  >__|   |__|   \____/|__|
         \/

    In version 3.5.11, Steroids was updated to work on Node.js version 0.10.x only. You are currently using Node.js v0.12.4.

    If you have NVM installed, you can use the '$ nvm install 0.10' command to install Node.js 0.10.x, and '$ nvm alias default 0.10' to make it your default Node.js version.

    See the installation instructions at https://academy.appgyver.com/installwizard for more information.

    NOTE: After you have updated your Node.js version (check with '$ node -v'), you need to write '$ npm install steroids -g' (instead of 'npm update') to update Steroids npm.


    Do you really want to ignore these words of wisdom and continue anyway? (y/N)
1

There are 1 answers

6
jillro On

Most recent version of node is currently v0.12.4. This is Yeoman recommending you upgrading to 0.12, not steroids.