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

Unable to compile erlang_js on osx el_capitan #2

Open
lulu-2021 opened this issue Nov 5, 2015 · 2 comments
Open

Unable to compile erlang_js on osx el_capitan #2

lulu-2021 opened this issue Nov 5, 2015 · 2 comments

Comments

@lulu-2021
Copy link

Hi there - I'd love to use rotor and coffee_rotor to compile coffeescript to js in my phoenix project. However when I tried to compile my project after doing mix deps.get with the rotor config - setup.. it attempted to pull down and compile erlang_js since this is a dependancy.. this failed. I then went to pull the latest from github on erlang_js and compile it and this broke as well.. :(

The important parts of the error are:

Compiled src/erlang_js.erl Compiled src/js.erl src/js_benchmark.erl:41: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information. src/js_benchmark.erl:43: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information. ERROR: compile failed while processing /Users/steveforkin/Work/elixir-workbench/erlang_js: rebar_abort make: *** [compile] Error 1

@HashNuke
Copy link
Owner

HashNuke commented Nov 5, 2015

@netflakes It's been so for a while. Looks like Basho hasn't updated erlang_js to work with latest versions of erlang. The time deprecation is from Erlang 18 changes.

@lulu-2021
Copy link
Author

Thanks @HashNuke, I have raised a ticket on the Erlang_JS project site as well.. would be great to see it fixed.

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

No branches or pull requests

2 participants