Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angularjs/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails os x El Capitan ExecJs/RuntimeError-_Ruby On Rails_Angularjs_Macos - Fatal编程技术网

Ruby on rails os x El Capitan ExecJs/RuntimeError-

Ruby on rails os x El Capitan ExecJs/RuntimeError-,ruby-on-rails,angularjs,macos,Ruby On Rails,Angularjs,Macos,当我尝试访问angularjs中的页面时,我收到了错误消息 ExecJS::在/users/sign_in(in)处出现运行时错误 /app/assets/javascripts/angularjs/app_require.js) 它显示了错误来自这里: <%= javascript_include_tag 'angularjs/app_require.js' %> 如何安装node(通过自制?)您介意共享哪个节点和brew信息节点的输出吗?另外,不要忘记,在OSX El Capi

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

ExecJS::在/users/sign_in(in)处出现运行时错误 /app/assets/javascripts/angularjs/app_require.js)

它显示了错误来自这里:

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

如何安装node(通过自制?)您介意共享
哪个节点
brew信息节点
的输出吗?另外,不要忘记,在OSX El Capitan中,您不再具有openssl头文件
brew安装openssl和&brew链接openssl——强制
I在帖子中添加brew节点信息。是的,我是通过自制软件安装的。也安装了OpenSsl。
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