mozilla-b2g / firefoxos-loop-client

DEPRECATED - Firefox OS client for the Loop service
Apache License 2.0
28 stars 44 forks source link

FTBFS #571

Closed mcepl closed 3 years ago

mcepl commented 9 years ago

With the current master (c45dec7), I get this:


matej@mitmanek: firefoxos-loop-client (master)$ grunt build
Running "clean:server" (clean) task
>> 0 paths cleaned.

Running "clean:postTest" (clean) task
>> 11 paths cleaned.

Running "clean:app" (clean) task
>> 0 paths cleaned.

Running "bower:install" (bower) task
>> Installed bower packages

Running "copy:build" (copy) task
Created 69 directories, copied 537 files

Running "configure" task

Running "gitinfo" task

Running "writeVersionFile" task

Running "compress:release" (compress) task
Created application.zip (6841530 bytes)

Running "ffosstop:app" (ffosstop) task
Starting interaction with the device, please accept the prompts on it (if any)
You can disable the prompts in the device by setting the property devtools.debugger.prompt-connection to false
Warning: Cannot find module 'es6-Promise' Use --force to continue.

Aborted due to warnings.
matej@mitmanek: firefoxos-loop-client (master)$ 
ibotty commented 9 years ago

That happens because of old versions of node-firefox-find-app, node-firefox-install-app, node-firefox-stop-app and node-firefox-launch-app.

To fix it (in a hacky way) do the following. The proper way might be to increment the required versions.

find node_modules -name index.js -exec sed -i s/es6-Promise/es6-promise/ {} \;