Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Npm install -g ionic@alpha --> AttributeError: 'MSVSProject' object has no attribute 'iteritems'

$
0
0

@keesjan wrote:

When I do 'npm install -g ionic@alpha' I get an error: AttributeError: 'MSVSProject' object has no attribute 'iteritems' )

My system info

Cordova CLI: 5.4.0
Ionic Version: 2.0.0-alpha.31
Ionic CLI Version: 2.0.0-alpha.23
Ionic App Lib Version: 2.0.0-alpha.22
OS:
Node Version: v5.0.0
Npm: v3.3.10

------- output -----

D:\data\src\Test\ionic2>npm install -g ionic@alpha
C:\Users\kvr\AppData\Roaming\npm\ionic -> C:\Users\kvr\AppData\Roaming\npm\node_modules\ionic\bin\ionic

> fsevents@1.0.5 install C:\Users\kvr\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\webpack\node_modules\watchpack\node_modules\chokidar\node_modules\fsevents
> node-pre-gyp install --fallback-to-build

Traceback (most recent call last):
  File "C:\Users\kvr\AppData\Roaming\npm\node_modules\node-gyp\gyp\gyp_main.py", line 16, in <module>

sys.exit(gyp.script_main())
File "C:\Users\kvr\AppData\Roaming\npm\node_modules\node-gyp\gyp\pylib\gyp_init__.py", line 545, in scriptmain
return main(sys.argv[1:])
File "C:\Users\kvr\AppData\Roaming\npm\node_modules\node-gyp\gyp\pylib\gyp__init__.py", line 538, in main
return gyp_main(args)
File "C:\Users\kvr\AppData\Roaming\npm\node_modules\node-gyp\gyp\pylib\gyp_init__.py", line 523, in gypmain
generator.GenerateOutput(flat_list, targets, data, params)
File "C:\Users\kvr\AppData\Roaming\npm\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py", line 2003, in GenerateOutput
sln_projects, project_objects, flat=msvs_version.FlatSolution())
File "C:\Users\kvr\AppData\Roaming\npm\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py", line 1762, in _GatherSolutionFolders
return _DictsToFolders('', root, flat)
File "C:\Users\kvr\AppData\Roaming\npm\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.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:\Users\kvr\AppData\Roaming\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/childprocess.js:200:12)
gyp ERR! System Windows_NT 10.0.10240
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\kvr\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\Users\kvr\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\webpack\node_modules\watchpack\node_modules\chokidar\node_modules\fsevents\lib\binding\Release\node-v47-win32-x64\fse.node" "--module_name=fse" "--module_path=C:\Users\kvr\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\webpack\node_modules\watchpack\node_modules\chokidar\node_modules\fsevents\lib\binding\Release\node-v47-win32-x64"
gyp ERR! cwd C:\Users\kvr\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\webpack\node_modules\watchpack\node_modules\chokidar\node_modules\fsevents
gyp ERR! node -v v5.0.0
gyp ERR! node-gyp -v v3.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\kvr\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\kvr\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\webpack\node_modules\watchpack\node_modules\chokidar\node_modules\fsevents\lib\binding\Release\node-v47-win32-x64\fse.node --module_name=fse --module_path=C:\Users\kvr\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\webpack\node_modules\watchpack\node_modules\chokidar\node_modules\fsevents\lib\binding\Release\node-v47-win32-x64' (1)
node-pre-gyp ERR! stack at ChildProcess. (C:\Users\kvr\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\webpack\node_modules\watchpack\node_modules\chokidar\node_modules\fsevents\node_modules\node-pre-gyp\lib\util\compile.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:818:16)
node-pre-gyp ERR! stack at Process.ChildProcess.handle.onexit (internal/childprocess.js:211:5)
node-pre-gyp ERR! System Windows_NT 10.0.10240
node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\kvr\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\webpack\node_modules\watchpack\node_modules\chokidar\node_modules\fsevents\node_modules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd C:\Users\kvr\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\webpack\node_modules\watchpack\node_modules\chokidar\node_modules\fsevents
node-pre-gyp ERR! node -v v5.0.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.15
node-pre-gyp ERR! not ok
Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\kvr\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\kvr\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\webpack\node_modules\watchpack\node_modules\chokidar\node_modules\fsevents\lib\binding\Release\node-v47-win32-x64\fse.node --module_name=fse --module_path=C:\Users\kvr\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\webpack\node_modules\watchpack\node_modules\chokidar\node_modules\fsevents\lib\binding\Release\node-v47-win32-x64' (1)
npm WARN install:fsevents@1.0.5 fsevents@1.0.5 install: node-pre-gyp install --fallback-to-build
npm WARN install:fsevents@1.0.5 Exit status 1
C:\Users\kvr\AppData\Roaming\npm
└── ionic@2.0.0-alpha.23

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>