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

Improving Windows Support #18

Open
1 of 5 tasks
mattdesl opened this issue Jan 21, 2016 · 7 comments
Open
1 of 5 tasks

Improving Windows Support #18

mattdesl opened this issue Jan 21, 2016 · 7 comments

Comments

@mattdesl
Copy link
Contributor

Just tried on Windows and wow, I feel sorry for anybody developing on that OS. 😢

  • Disable web security by default for index.html to work on first run
  • Source maps are not working
  • All tests are failing because cross-spawn stdout is for some reason returning a zero length string (although it prints in terminal). Switching to child_process#spawn is throwing another error.
  • Can't use any piping like devtool foo.js > output.png with default cmd.exe
  • Can't use ./bin/index.js to run the examples in run scripts

Probably lots of other issues. But mostly the tool is working for debugging Node apps, which is a good start. 👍

@mattdesl mattdesl changed the title Windows Support Improving Windows Support Jan 29, 2016
@rafaelcastrocouto
Copy link

I'm living this hell ...

C:\Users\rafael\AppData\Roaming\npm\node_modules\devtool\node_modules\electron-prebuilt\dist\resour…:127 Error: Implement me. Unknown stdin file type!(…)(anonymous function) @ C:\Users\rafael\AppData\Roaming\npm\node_modules\devtool\node_modules\electron-prebuilt\dist\resour…:127Module._compile @ module.js:425Module._extensions..js @ module.js:432Module.load @ module.js:356Module._load @ module.js:313Module.runMain @ module.js:457startup @ node.js:151(anonymous function) @ node.js:1007
C:\Users\rafael\AppData\Roaming\npm\node_modules\devtool\node_modules\electron-prebuilt\dist\resour…:128 Error: Implement me. Unknown stdin file type!
    at process.stdin (node.js:747)
    at hookProcess (C:\Users\rafael\AppData\Roaming\npm\node_modules\devtool\lib\preload.js:117)
    at C:\Users\rafael\AppData\Roaming\npm\node_modules\devtool\lib\preload.js:29
    at Object.<anonymous> (C:\Users\rafael\AppData\Roaming\npm\node_modules\devtool\lib\preload.js:129)
    at Module._compile (module.js:425)
    at Object.Module._extensions..js (module.js:432)
    at Module.load (module.js:356)
    at Function.Module._load (module.js:313)
    at Module.require (module.js:366)
    at require (module.js:385)(anonymous function) @ C:\Users\rafael\AppData\Roaming\npm\node_modules\devtool\node_modules\electron-prebuilt\dist\resour…:128Module._compile @ module.js:425Module._extensions..js @ module.js:432Module.load @ module.js:356Module._load @ module.js:313Module.runMain @ module.js:457startup @ node.js:151(anonymous function) @ node.js:1007

@mattdesl
Copy link
Contributor Author

mattdesl commented Mar 2, 2016

Can you create a new issue with some more details on how to reproduce the issue? Thanks!

@rafaelcastrocouto
Copy link

It's done! #42

@Elnee
Copy link

Elnee commented Mar 5, 2016

@rafaelcastrocouto
Like an answer for "The Ultimate Question of Life, the Universe, and Everything" 😄

@rafaelcastrocouto
Copy link

🐋

@jbe456
Copy link

jbe456 commented Aug 25, 2016

Tried latest version on Windows. It is a bit unstable and slow and I can't use sourcemap unfortunately. Any known workaround for the sourcemap?

@Darmikon
Copy link

It would be a perfect tool in case you fix sourcemaps. At the moment source maps don't work for me on windows 10. I see only compiled code when run devtool -r babel-register ./es6-code. Please fix it if it's possible. And thanks a lot for your amazing work.

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

No branches or pull requests

5 participants