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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T21:20:34+00:00 2026-05-31T21:20:34+00:00

I’m trying to setup & run microtime package , but node raised an error:

  • 0

I’m trying to setup & run microtime package, but node raised an error:

npm install microtime

ubuntu@ubuntu-desktop:~$ node
> var microtime = require('microtime')
Error: Could not load the bindings file. Tried:
 -> /home/ubuntu/node_modules/microtime/build/Debug/microtime.node
 -> /home/ubuntu/node_modules/microtime/build/Release/microtime.node
 -> /home/ubuntu/node_modules/microtime/out/Debug/microtime.node
 -> /home/ubuntu/node_modules/microtime/Debug/microtime.node
 -> /home/ubuntu/node_modules/microtime/out/Release/microtime.node
 -> /home/ubuntu/node_modules/microtime/Release/microtime.node
 -> /home/ubuntu/node_modules/microtime/build/default/microtime.node
 -> /home/ubuntu/node_modules/microtime/compiled/0.6/linux/ia32/microtime.node
    at bindings (/home/ubuntu/node_modules/microtime/node_modules/bindings/bindings.js:82:13)
    at Object.<anonymous> (/home/ubuntu/node_modules/microtime/index.js:1:95)
    at Module._compile (module.js:441:26)
    at Object..js (module.js:459:10)
    at Module.load (module.js:348:31)
    at Function._load (module.js:308:12)
    at Module.require (module.js:354:17)
    at require (module.js:370:17)
    at repl:1:17
    at REPLServer.eval (repl.js:80:21)

It seems to be something wrong with paths, but i dont know where to digg to solve this issue (i’m new in linux)

My conf is: ubuntu 10.04, node 0.6.13, npm 1.1.10

2@Linus: hmm, i’ve just tried to reinstall microtime and now it got an error (but first time it wasnt):

ubuntu@ubuntu-desktop:~/app1$ npm install microtime
npm http GET https://registry.npmjs.org/microtime
npm http 304 https://registry.npmjs.org/microtime
npm http GET https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/bindings

> microtime@0.3.1 install /home/ubuntu/node_modules/microtime
> node-gyp rebuild

info it worked if it ends with ok 
spawn python [ '/home/ubuntu/.node-gyp/0.6.13/tools/gyp_addon',
  'binding.gyp',
  '-I/home/ubuntu/node_modules/microtime/build/config.gypi',
  '-f',
  'make' ]
spawn make [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory `/home/ubuntu/node_modules/microtime/build'
  CXX(target) Release/obj.target/microtime/src/microtime.o
make: g++: Command not found
make: *** [Release/obj.target/microtime/src/microtime.o] Error 127
make: Leaving directory `/home/ubuntu/node_modules/microtime/build'
ERR! Error: `make` failed with exit code: 2
    at Array.0 (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:169:25)
    at EventEmitter._tickCallback (node.js:192:40)
ERR! not ok

npm ERR! microtime@0.3.1 install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR! 
npm ERR! Failed at the microtime@0.3.1 install script.
npm ERR! This is most likely a problem with the microtime package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls microtime
npm ERR! There is likely additional logging output above.
npm ERR! 
npm ERR! System Linux 2.6.32-21-generic
npm ERR! command "node" "/usr/bin/npm" "install" "microtime"
npm ERR! cwd /home/ubuntu/app1
npm ERR! node -v v0.6.13
npm ERR! npm -v 1.1.10
npm ERR! code ELIFECYCLE
npm ERR! message microtime@0.3.1 install: `node-gyp rebuild`
npm ERR! message `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR! errno {}
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/ubuntu/app1/npm-debug.log
npm not ok
  • 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-31T21:20:36+00:00Added an answer on May 31, 2026 at 9:20 pm

    Here is the source of your problems:

    make: g++: Command not found
    

    You need to

    apt-get install build-essential
    

    And try installing it again. Use sudo or superuser for your distro to do this.

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I want to count how many characters a certain string has in PHP, but
I am trying to render a haml file in a javascript response like so:
I have a French site that I want to parse, but am running into
I would like to run a str_replace or preg_replace which looks for certain words
I need to clean up various Word 'smart' characters in user input, including but

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.