Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 'npm start' error: CreateProcessW: %1 is not a valid Win32 application #1

Open
theoxylo opened this issue Mar 27, 2013 · 1 comment

Comments

@theoxylo
Copy link
Owner

Seems to be an issue with browservefy or it's dependents (related to child process fork?):

$ npm start

> voxel-life@0.0.1 start C:\Dropbox\nodejs_dev\voxeljs\voxel-life
> browservefy index.js:bundle.js 8080 -- -d -v

listening on 8080
using .\node_modules\.bin\browserify
200   43ms    1.03KB /index.html
CreateProcessW: %1 is not a valid Win32 application.
200    3ms        0B /bundle.js -> .\node_modules\.bin\browserify .\index.js -d -v
@theoxylo
Copy link
Owner Author

Work-around: build the bundle manually and serve with any http server:

$ browserify index.js -o bundle.js -d -v
3371339 bytes written

$ python -m SimpleHTTPServer 8080
Serving HTTP on 0.0.0.0 port 8080 ...

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

No branches or pull requests

1 participant