Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6979145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:50:54+00:00 2026-05-27T17:50:54+00:00

I created a SHELL service from Shellmix . Node.js v5.8-pre was installed in the

  • 0

I created a SHELL service from Shellmix.

Node.js v5.8-pre was installed in the hosting machine under directory /usr/local/bin/. However I would like to install v6.6 under my $HOME directory.

I have successfully installed node.js v6.6 in my $HOME directory with

> ./configure --prefix=$HOME/
> gmake
> gmake install
> alias node $HOME/bin/node
> alias npm $HOME/bin/npm
> alias node-waf $HOME/bin/node-waf

When I try node app.js, it really using v6.6 node.js. However when I try npm, it gave me an error.

Error: npm doesn't work with node v0.5.8-pre
Required: node@0.6 || 0.7 || 0.8
    at /homex/hkalex/lib/node_modules/npm/bin/npm-cli.js:60:23
    at Object.<anonymous> (/homex/hkalex/lib/node_modules/npm/bin/npm-cli.js:80:2)
    at Module._compile (module.js:432:26)
    at Object..js (module.js:450:10)
    at Module.load (module.js:351:31)
    at Function._load (module.js:310:12)
    at Array.0 (module.js:470:10)
    at EventEmitter._tickCallback (node.js:200:26)

Sorry that I am not good at Linux environment. Could any one help me to make npm work? Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T17:50:55+00:00Added an answer on May 27, 2026 at 5:50 pm

    I did fix this problem.

    I modified the first line of npm-cli.js from

    #!/usr/bin/env node

    to

    #!/usr/bin/env /homex/hkalex/bin/node

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

shell>/bin/date -d 091029 20:18:02 +%s 1256827682 Similarly I created shell script: #My.sh myDate=`date +'%y%m%d_%H%M%S'`
I have created a shell script to backup my webfiles + database dump, put
How can I execute a.exe using the Cygwin shell? I created a C file
I have created a new VS2008 ASP.Net Web service project, with the default name
I have a JSON response from a web service that I need to be
I have created a linux service that runs as a deamon (and gets started
I am writing a graphical application using SWT. Firstly I created a shell with
I have created a C# web service using visual studio to stop the windows
I am receiving an XML document from a REST service which shall be parsed
Is there a way to fix The service Microsoft.VisualStudio.Shell.Interop.ISelectionContainer already exists in the service

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.