Flipboard / react-canvas

High performance <canvas> rendering for React components
BSD 3-Clause "New" or "Revised" License
13.18k stars 919 forks source link

dependency errors #70

Open vance opened 9 years ago

vance commented 9 years ago

npm install fails every time on git://github.com/mjohnston/scroller because of firewall, so i removed it from package and manually installed submodule under mjohnston/scroller

after all that I get the following error. Obviously my machine has > .NET 4 SDKs installed. I manually grabbed the 2.0 SDKs and jest still fails.

C:\dev\react-canvas\node_modules\jest-cli\node_modules\jsdom\node_modules\contextify>node "C:\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild child_process: customFds option is deprecated, use stdio instead. Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visua l Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere. [C:\dev\react-canvas\node_modules\jest-cli\node_module s\jsdom\node_modules\contextify\build\binding.sln] gyp ERR! build error gyp ERR! stack Error: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:267:23) gyp ERR! stack at ChildProcess.emit (events.js:110:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "node" "C:\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\dev\react-canvas\node_modules\jest-cli\node_modules\jsdom\node_modules\contextify gyp ERR! node -v v0.12.0 gyp ERR! node-gyp -v v1.0.2 gyp ERR! not ok npm WARN optional dep failed, continuing fsevents@0.3.5 npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\nodejs\node.exe" "C:\nodejs\node_modules\npm\bin\npm-cli.js" "install" npm ERR! node v0.12.0 npm ERR! npm v2.5.1 npm ERR! code ELIFECYCLE

npm ERR! contextify@0.1.13 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the contextify@0.1.13 install script 'node-gyp rebuild'. npm ERR! This is most likely a problem with the contextify package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get their info via: npm ERR! npm owner ls contextify npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! C:\dev\react-canvas\npm-debug.log

mjohnston commented 9 years ago

See if this helps you out: https://github.com/Flipboard/react-canvas/issues/18#issuecomment-74090875