angular-phonecat 官方案例运行时报错

运行npm start 时报错

PS D:angular-phonecat> npm start > angular-phonecat@0.0.0 prestart D:angular-phonecat
> npm install > fsevents@1.0.14 install D:angular-phonecat
ode_modulesfsevents
> node-pre-gyp install --fallback-to-build node-pre-gyp ERR! Tried to download: https://npm.taobao.org/mirrors/fsevents/v1.0.14/fse-v1.0.14-node-v46-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.0.14 and node@4.5.0 node-v46 ABI falling back to source compile with node-gyp D:angular-phonecat
ode_modulesfsevents>if not defined npm_config_node_gyp node "C:Program Files
odejs
ode_modules
pmin
ode-gyp-bin\....
ode_modules
ode-gypin
ode-gyp.js" clean else node "" clean D:angular-phonecat
ode_modulesfsevents>if not defined npm_config_node_gyp node "C:Program Files
odejs
ode_modules
pmin
ode-gyp-bin\....
ode_modules
ode-gypin
ode-gyp.js" configure --fallback-to-build --module=D:angular-phonecat
ode_modulesfseventslibindingRelease
ode-v46-win32-x64fse.node --module_name=fse --module_path=D:angular-phonecat
ode_modulesfseventslibindingRelease
ode-v46-win32-x64 else node "" configure --fallback-to-build --module=D:angular-phonecat
ode_modulesfseventslibindingRelease
ode-v46-win32-x64fse.node --module_name=fse --module_path=D:angular-phonecat
ode_modulesfseventslibindingRelease
ode-v46-win32-x64 Traceback most recent call last: File "C:Program Files
odejs
ode_modules
pm
ode_modules
ode-gypgypgyp_main.py", line 16, in <module> sys.exitgyp.script_main File "C:Program Files
odejs
ode_modules
pm
ode_modules
ode-gypgyppylibgyp\__init__.py", line 545, in script_main return mainsys.argv[1:] File "C:Program Files
odejs
ode_modules
pm
ode_modules
ode-gypgyppylibgyp\__init__.py", line 538, in main return gyp_mainargs File "C:Program Files
odejs
ode_modules
pm
ode_modules
ode-gypgyppylibgyp\__init__.py", line 523, in gyp_main generator.GenerateOutputflat_list, targets, data, params File "C:Program Files
odejs
ode_modules
pm
ode_modules
ode-gypgyppylibgypgeneratormsvs.py", line 2003, in GenerateOutput sln_projects, project_objects, flat=msvs_version.FlatSolution File "C:Program Files
odejs
ode_modules
pm
ode_modules
ode-gypgyppylibgypgeneratormsvs.py", line 1762, in _GatherSolutionFolders return _DictsToFolders, root, flat File "C:Program Files
odejs
ode_modules
pm
ode_modules
ode-gypgyppylibgypgeneratormsvs.py", line 1715, in _DictsToFolders for folder, contents in bucket.iteritems:
AttributeError: MSVSProject object has no attribute iteritems
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit C:Program Files
odejs
ode_modules
pm
ode_modules
ode-gyplibconfigure.js:305: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_process.js:200:12
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--module=D:\angular-phonecat\node_modules\fsevents\lib\binding\Release\node-v46-win32-x64\fse.node" "--module_name=fse" "--module_path=D:\angular-phonecat\node_modules\fsevents\lib\binding\Release\node-v46-win32-x64"
gyp ERR! cwd D:angular-phonecat
ode_modulesfsevents
gyp ERR! node -v v4.5.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute node-gyp.cmd configure --fallback-to-build --module=D:angular-phonecat
ode_modulesfseventslibindingRelease
ode-v46-win32-x64fse.node --module_name=fse --module_path=D:angular-phonecat
ode_modulesfseventslibindingRelease
ode-v46-win32-x64 1
node-pre-gyp ERR! stack at ChildProcess.<anonymous> D:angular-phonecat
ode_modules.1.0.14@fsevents
ode_modules
ode-pre-gyplibutilcompile.js:83:29
node-pre-gyp ERR! stack at emitTwo events.js:87:13
node-pre-gyp ERR! stack at ChildProcess.emit events.js:172:7
node-pre-gyp ERR! stack at maybeClose internal/child_process.js:829:16
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit internal/child_process.js:211:5
node-pre-gyp ERR! System Windows_NT 10.0.14393
node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "D:\angular-phonecat\node_modules\fsevents\node_modules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd D:angular-phonecat
ode_modulesfsevents
node-pre-gyp ERR! node -v v4.5.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.29
node-pre-gyp ERR! not ok
Failed to execute node-gyp.cmd configure --fallback-to-build --module=D:angular-phonecat
ode_modulesfseventslibindingRelease
ode-v46-win32-x64fse.node --module_name=fse --module_path=D:angular-phonecat
ode_modulesfseventslibindingRelease
ode-v46-win32-x64 1 npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v4.5.0
npm ERR! npm v2.15.9
npm ERR! code ELIFECYCLE
npm ERR! fsevents@1.0.14 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fsevents@1.0.14 install script node-pre-gyp install --fallback-to-build.
npm ERR! This is most likely a problem with the fsevents package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs fsevents
npm ERR! Or if that isnt available, you can get their info via:
npm ERR!
npm ERR! npm owner ls fsevents
npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request:
npm ERR! D:angular-phonecat
pm-debug.log npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
npm ERR! node v4.5.0
npm ERR! npm v2.15.9
npm ERR! code ELIFECYCLE
npm ERR! angular-phonecat@0.0.0 prestart: `npm install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular-phonecat@0.0.0 prestart script npm install.
npm ERR! This is most likely a problem with the angular-phonecat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs angular-phonecat
npm ERR! Or if that isnt available, you can get their info via:
npm ERR!
npm ERR! npm owner ls angular-phonecat
npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request:
npm ERR! D:angular-phonecat
pm-debug.log

发表评论

电子邮件地址不会被公开。 必填项已用*标注