Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Any way to get Punch on windows? #8

Closed
sc0ttwad3 opened this issue May 10, 2012 · 2 comments
Closed

Any way to get Punch on windows? #8

sc0ttwad3 opened this issue May 10, 2012 · 2 comments

Comments

@sc0ttwad3
Copy link

Really excited by this project and working well so far under Ubuntu...but really want to get this running under Windows (and eventually AZURE) as well. Using a Windows 7 workstation, where a lot of JRuby, and various node projects are being worked on and running... the npm install of punch fails.

Have had no problems installing and using mustache and underscore and lot of others without a problem on other projects, but the npm install of Punch is failing because of the spawn syscalls to git clone the dependencies ... see npm-debug.log below...and probably any of the spawn calls...

info using npm@1.1.19
info using node@v0.6.16

Is there a way to support installing this on Windows and update/modify the npm package to get around this? I'm going to work on manually tweaking the install, but wondering if you had plans to support npm installation of punch on windows and were possibly already working on it.

Great Project! Thanks for you efforts...

http GET https://registry.npmjs.org/marked
silly exec git "clone" "git://github.com/janl/mustache.js" "C:\Users[MyUserName]\AppData\Local\Temp\npm-1336671749658\1336671749658-0.6476961350999773"
silly spawning [ 'git',
silly spawning [ 'clone',
silly spawning 'git://github.com/janl/mustache.js',
silly spawning 'C:\Users[MyUserName]\AppData\Local\Temp\npm-1336671749658\1336671749658-0.6476961350999773' ],
silly spawning null ]
ERR! Error: spawn ENOTSUP
ERR! at errnoException (child_process.js:483:11)
ERR! at ChildProcess.spawn (child_process.js:446:11)
ERR! at Object.spawn (child_process.js:342:9)
ERR! at spawn (C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\exec.js:118:22)
ERR! at exec (C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\exec.js:50:12)
ERR! at C:\Program Files (x86)\nodejs\node_modules\npm\lib\cache.js:307:5
ERR! at Object.oncomplete (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\mkdirp\index.js:22:20)
ERR! You may report this log at:
ERR! http://github.com/isaacs/npm/issues
ERR! or email it to:
ERR! npm-@googlegroups.com
ERR!
ERR! System Windows_NT 6.1.7601
ERR! command "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "punch"
ERR! cwd c:\Projects\NodeProjects\TaskList-MochaTesting
ERR! node -v v0.6.16
ERR! npm -v 1.1.19
ERR! syscall spawn
ERR! code ENOTSUP
ERR! message spawn ENOTSUP
ERR! errno {}
verbose exit [ 1, true ]

@sc0ttwad3
Copy link
Author

Just discovered an updated to Node.js v0.6.17 and npm 1.1.21 and Punch is now successfully installed on Windows 7 and 8, Windows Server 2008 R2 and 2012. Seems that the dependency on marked was somehow causing problems in the syscall spawn under v0.6.16 and npm 1.1.19...

Look forward to Punch's progress!

@laktek
Copy link
Owner

laktek commented May 10, 2012

Great! I'll add these requirements for Windows to the README.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants