Skip to content

Instantly share code, notes, and snippets.

@zellyn
Created November 28, 2009 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zellyn/244662 to your computer and use it in GitHub Desktop.
Save zellyn/244662 to your computer and use it in GitHub Desktop.
node.js build error
bash-3.2$ make
make
Waf: Entering directory `/Users/zhunter/Code/git/node/build'
[ 8/22] libv8.a: deps/v8/SConstruct -> build/default/libv8.a
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
JS2C(["obj/release/libraries.cc", "obj/release/libraries-empty.cc"], ["src/runtime.js", "src/v8natives.js", "src/array.js", "src/string.js", "src/uri.js", "src/math.js", "src/messages.js", "src/apinatives.js", "src/debug-delay.js", "src/mirror-delay.js", "src/date-delay.js", "src/regexp-delay.js", "src/json-delay.js", "src/macros.py"])
scons: *** [obj/release/libraries.cc] AttributeError : 'module' object has no attribute 'JavaScriptMinifier'
Traceback (most recent call last):
File "/Users/zhunter/Code/git/node/tools/scons/scons-local-1.2.0/SCons/Action.py", line 961, in execute
result = self.execfunction(target=target, source=rsources, env=env)
File "/Users/zhunter/Code/git/node/deps/v8/tools/js2c.py", line 285, in JS2C
minifier = jsmin.JavaScriptMinifier()
AttributeError: 'module' object has no attribute 'JavaScriptMinifier'
scons: building terminated because of errors.
Waf: Leaving directory `/Users/zhunter/Code/git/node/build'
Build failed
-> task failed (err #2):
{task: libv8.a SConstruct -> libv8.a}
make: *** [all] Error 1
bash-3.2$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment