Thanks for sharing Michiel. The steps you mentioned should all be on MDN [1], but perhaps we could add some troubleshooting steps (removing node modules, using nvm to ensure proper node version, etc).
1.) https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/Different_ways_to_run_Gaia#Using_Gaia_in_Firefox_Mulet On Tue, Dec 29, 2015 at 6:50 PM, Michiel de Jong <[email protected]> wrote: > Please ignore this post, unless you sometimes have problems running gaia > on your laptop. > > Gaia sometimes becomes incompatible with older B2G-Desktop versions (for > instance, recently the `let` keyword was introduced). Apart from using the > simulator from WebIDE, or building your own latest B2G executable from > moz-central Gecko, the following is an easy way to get things working again > when this happens (this is on a Macbook, but it's probably quite similar on > Linux): > > * `node --version` or `nvm current` and make sure you have node version 4.2 > * If you have previously worked with node 0.10 you may or may not need to > `cd gaia && rm -r node_modules` > * npm install > * Make sure you have a 'DEVICE_DEBUG := 1' line in your local.mk file > * cd gaia && mv firefox firefox-old && make clean && make && make mulet > * Ignore the dialog for moving 'FirefoxNightly' to 'Applications' > * ./firefox/Contents/MacOS/firefox-bin -profile `pwd`/profile > * You should see mulet starting, with a simulated Firefox OS phone inside > * Click the pointer icon to interact with it > > The key part here is, I guess, the easy way of getting the latest mulet by > removing the ./firefox folder in your gaia repo and running `make mulet`. > > I only found this information by asking around (thanks, Sean Lee!), and > was hesitant to add it to > https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/Running_the_Gaia_codebase > myself, but I thought I could at least post it to this list. :) > > > Cheers, > Michiel. > > _______________________________________________ > dev-fxos mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-fxos > >
_______________________________________________ dev-fxos mailing list [email protected] https://lists.mozilla.org/listinfo/dev-fxos

