Skip navigation

node-waf is a tool shipped with Node.js to help build C++ files into a node.js compatible library or tool. It is only available if you installed node.js from source. 

 

The path to node-waf is usually in /usr/local/bin

 

If you see that node is installed in /usr/bin but not /usr/local/bin then you did not install node.js from source.

$ git clone https://github.com/joyent/node.git

$ ./configure

$ make

$ sudo make install

And now you should see node-waf in /usr/local/bin

If you simply try to use node-waf without installing node you’ll see this error:

“ImportError: No module named Scripting”

Do not do this, instead install node.js.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: