Note that there are some explanatory texts on larger screens.

plurals
  1. PO`npm install mongodb` arises error
    primarykey
    data
    text
    <p>i just try to learn mongodb , when i try to install mongodb for node , i got the error as below shown.</p> <p>By the way ,my enviroment:<code>ubuntu 10.04</code> + <code>node v0.6.9</code>.Also i use the nvm ,which switch the node version locally.</p> <pre><code>zhkzyth@geek:~/codeRep/Nodejs---MongoDB$ npm install mongodb npm http GET https://registry.npmjs.org/mongodb npm http 304 https://registry.npmjs.org/mongodb npm http GET https://registry.npmjs.org/bson/0.1.5 npm http 304 https://registry.npmjs.org/bson/0.1.5 &gt; bson@0.1.5 install /home/zhkzyth/codeRep/Nodejs---MongoDB/node_modules/mongodb/node_modules/bson &gt; node install.js || (exit 0) ================================================================================ = = = Attempting to build bson c++ extension = = Windows: no build will be attempted as binaries are prepackaged = = Unix: on failure the package will still install without the C++ extension = = = ================================================================================ node-gyp clean gyp ERR! clean error gyp ERR! stack Error: UNKNOWN, unknown error 'build' gyp ERR! System Linux 2.6.32-45-generic gyp ERR! command "node" "/usr/local/bin/node-gyp" "clean" gyp ERR! cwd /home/zhkzyth/codeRep/Nodejs---MongoDB/node_modules/mongodb/node_modules/bson gyp ERR! node -v v0.6.9 gyp ERR! node-gyp -v v0.8.3 gyp ERR! not ok make: *** [clean] 错误 1 child process exited with code 2 mongodb@1.2.8 ./node_modules/mongodb └── bson@0.1.5 </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload