Hi all,
Im new to angularJS. I tried to download the angular phonecat project from
https://github.com/angular/angular-phonecat but encounter error :(
Please help.
I have installed python(2.5.0), git(2.5.3), nodejs(4.1.1), npm(include in
nodejs). The following is the log.
C:\angular-phonecat-master\node_modules\bufferutil>if
not defined npm_config_node_gyp (node "C:\npm\n
de_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js"
r
build ) else (node rebuild )
Traceback (most recent call last):
File "C:\npm\node_modules\npm\node_modules\no
e-gyp\gyp\gyp_main.py", line 11, in <module>
import gyp
File "C:\npm\node_modules\npm\node_modules\no
e-gyp\gyp\pylib\gyp\__init__.py", line 8, in <module>
import gyp.input
File "C:\npm\node_modules\npm\node_modules\no
e-gyp\gyp\pylib\gyp\input.py", line 883
except ImportError as e:
^
SyntaxError: invalid syntax
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (C:\
npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:355:16)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_proce
s.js:200:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe"
"C:\\\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.j
" "rebuild"
gyp ERR! cwd C:\angular-phonecat-master\node_modules\
ufferutil
gyp ERR! node -v v4.1.1
gyp ERR! node-gyp -v v3.0.1
gyp ERR! not ok
npm WARN install:bufferutil [email protected] install: `node-gyp rebuild`
npm WARN install:bufferutil Exit status 1
> [email protected] install C:\angular-phonecat-ma
ter\node_modules\utf-8-validate
> node-gyp rebuild
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.