Node-waf: not found

后端 未结 4 1394
Happy的楠姐
Happy的楠姐 2021-01-17 07:25

Here is the thing. My configuration is Ubuntu 13.04, Node.js v0.10.5 and NPM version 1.2.18.

I am trying to install node.js module \"shoe\" and I got this error:

4条回答
  •  离开以前
    2021-01-17 08:14

    I haven't had luck getting node-waf on my machine, so I decided to fork the thing and migrate it to node-gyp so that it works.

    My fork is at https://github.com/eddydas/node-sleep

    To get it work, first make sure you have node-gyp by

    $ npm install node-gyp
    

    Then, clone the entire project from GitHub (either by ZIP or Git, it's up to you) and install from it.

    $ cd ~
    $ wget "https://codeload.github.com/eddydas/node-sleep/zip/master"
    $ unzip master
    $ cd YOUR_NODE_JS_PROJECT_FOLDER
    $ npm install ~/node-sleep-master
    

    I tried my best to make the thing work. If it doesn't go smooth, please feel free to let me know. Hope it helps!

提交回复
热议问题