profile
viewpoint

Ask questionsfsevents installation crashes with "'MSVSProject' object has no attribute 'iteritems'"

I had the same issue as @jamietre in npm/npm#8878. Looking at the stack trace, I'm pretty sure it's node-gyp that's encountering some sort of error while trying to install fsevents (a Mac OS X-specific module, from the looks of it). The error message seems generic enough to be a gyp-related one rather than an fsevents one though, so I'm filing it here.

nodejs/node-gyp

Answer questions ManfredLange

The error message is:

AttributeError: 'MSVSProject' object has no attribute 'items'

Note that in the screenshot it says node-gyp 5.05. However, version 6.1.0 is installed globally....

image

Update: Meanwhile I cannot reproduce the problem anymore. I do not know what change made this work. I no longer need the workaround (locking fsevents to particular version) anymore either.

useful!
source:https://uonfu.com/
answerer
Manfred ManfredLange HYPR Innovation New Zealand https://www.hypr.nz I’m a Principal Consultant at consulting firm HYPR Innovation in New Zealand. Currently, my main focus is helping clients to build scalable SaaS products.
Github User Rank List