Closed baskint closed 7 years ago
Thanks for the report and sorry for late reply.
It's caused by weird npm permission issue on windows.
You can simply replace line in config/dev.exs
from this
watchers: [npm: ["run", "start", cd: Path.expand("../assets", __DIR__)]]
to this
watchers: [node: ["node_modules/webpack-dev-server/bin/webpack-dev-server.js", "--colors", "--stdin", cd: Path.expand("../assets", __DIR__)]]
I will fix this in the next commit. Please close issue if now it works. Let me know if it didn't work out for you.
It worked out great. I made the changes on Windows machine and pushed, and pulled it on Ubuntu. Confirm that it works on Ubuntu was well. It sure is weird. I was thinking it was something with the paths
, but it was not. Thank you for the fix. Cheers! 🎊
First of all, thanks so much making this boiler plate code available. I have followed the instructions and got the app to work on my
Ubuntu
box and pushed it to heroku.However, having issues on Windows system (I know that is a bit afterthought), I am thinking somewhere the pipe specific to windows, we are building the directories. I suspect either the spaces in the path or lacck of back slashes in the path is causing this error. Any thoughts where I could fix this?
Thank you for any ideas.