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 8516515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T05:27:03+00:00 2026-06-11T05:27:03+00:00

I have successfully installed Node.js, now I want to install the websocket module found

  • 0

I have successfully installed Node.js, now I want to install the websocket module found here: https://github.com/Worlize/WebSocket-Node

From the root user, I have run the following command:

 npm install websocket

The error thrown is:

[websocket v1.0.7]

Native code compile failed!!

On Windows, native extensions require Visual Studio and Python.

On Unix, native extensions require Python, make and a C++ compiler.

Start npm with --websocket:verbose to show compilation output (if any).

What commands should I issue to install this websocket module and its requirements?

Edit:
When I run sudo apt-get install gcc make

I get this message:

Reading package lists… Done
Building dependency tree
Reading state information… Done
gcc is already the newest version.
gcc set to manually installed.
make is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 44 not upgraded.

And the same error when trying to install WebSocket.

  • 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-06-11T05:27:05+00:00Added an answer on June 11, 2026 at 5:27 am

    Make sure that you have installed python, make and gcc.
    Python should be already installed by default.
    You can install gcc and make as root with command:

    apt-get install gcc make
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have successfully installed lightbox module in drupal and now using it for 'sign
I have successfully installed following items as i want to Integrate Facebook Chat Into
I have successfully installed Eclipse 3.5 and Java 1.5. I would like to install
I am trying to use jqplot http://www.jqplot.com/tests/cursor-highlighter.php . I have successfully installed it in
I have successfully installed Titanium Studio. SDK Version:1.7.5 .Now I have downloaded Android SDK
I have successfully installed Phing but have a few questions. Right now, in order
I have successfully installed WordNet library. Now I am trying to use the library
I am newbie in PHP. I have successfully installed PHP on Ubuntu, now I
This is my first module. I have been trying to successfully install my module
I have successfully installed Smart-HTTP Git server on IIS (gitweb.codeplex.com) and configured access using

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.