os x El Capitan ExecJs / RuntimeError -

时间:2016-01-04 11:27:03

标签: ruby-on-rails angularjs macos

当Ii尝试访问angularjs中的页面时,我收到了错误消息

  

ExecJS :: RuntimeError at / users / sign_in(in   /app/assets/javascripts/angularjs/app_require.js)

它显示错误来自此处:

<%= javascript_include_tag 'angularjs/app_require.js' %>

一切都已安装,我在另一个论坛上查了一下但仍然无法正常工作。

更新

brew node info: node: stable 5.3.0 (bottled), HEAD Platform built on the V8 JavaScript runtime to build network applications https://nodejs.org/ /usr/local/Cellar/node/5.3.0 (2,827 files, 29.4M)  Poured from bottle From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/node.rb
==> Dependencies Build: pkg-config ✔ Optional: openssl ✔
==> Options
--with-debug    Build with debugger hooks
--with-full-icu     Build with full-icu (all locales) instead of small-icu (English only)
--with-openssl  Build with openssl support
--without-completion    npm bash completion will not be installed
--without-npm   npm will not be installed
--HEAD  Install HEAD version
==> Caveats Please note by default only English locale support is provided. If you need full locale support you should:   `brew reinstall node --with-full-icu`

Bash completion has been installed to:   /usr/local/etc/bash_completion.d

0 个答案:

没有答案