Laravel 5.4 Mix in c9.io ide

醉酒当歌 提交于 2019-12-21 23:43:22

问题


I've been trying to get Laravel Mix NodeJS compiling scripts to run in the c9 ide for hours now hopefully someone has a explanation or a fix.

So basically I'm trying to compile my sass and a javascript file which both are default so there is no possibility of errors within the code. My webpack.mix.js is default and well and all I'm trying to do is run the npm command "npm run dev" which compiles the files without uglifying it and such. "npm run watch" which auto compiles every time you save and a change has been made does not work as well. Sorry for the terriable explanation but I'm just looking for a quick fix.


回答1:


Problem has been solved. The issue was caused because c9 by default was running an older version of node <--- so a simple update to node 7 fixed the issue.



来源:https://stackoverflow.com/questions/41943909/laravel-5-4-mix-in-c9-io-ide

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!