/home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb: 94:in rescue in block (2 levels) in require': There was an error while trying to load the gem 'uglifier'. Gem Load Error is: Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes. Backtrace for gem load error is: /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/execjs-2.7.0/lib/execjs/runtimes.rb:58:in
autodetect' /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/execjs-2.7.0/lib/execjs.rb:5:in <module:ExecJS>' /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/execjs-2.7.0/lib/execjs.rb:4:in
' /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/uglifier-3.0.3/lib/uglifier.rb:5:in require' /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/uglifier-3.0.3/lib/uglifier.rb:5:in
' /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:91:在require' /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:91:in
塊(2級)需要' /home /leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:86:in each' /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:86:in
block in require' /home /萊託/ .rbe nv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:75:在each' /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:75:in
需要' /home/leto/.rbenv/versions /2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler.rb:106:in require' /home/leto/rubyblog/config/application.rb:7:in
' /home/leto/.rbenv/versions/2.3.1/lib /ruby/gems/2.3.0/gems/spring-2.0.0/lib/spring/application.rb:82:in require' /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spring-2.0.0/lib/spring/application.rb:82:in
預加載' /home/leto/.rbenv/versions/2.3.1/lib/ruby/ gems/2.3.0/gems/spring-2.0.0/lib/spring/application.rb:143:在serve' /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spring-2.0.0/lib/spring/application.rb:131:in
塊中運行' /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems /2.3.0/gems/spring-2.0.0/lib/spring/application.rb:125:in loop' /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spring-2.0.0/lib/spring/application.rb:125:in
運行' /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3。 0/gems/spring-2.0.0/lib/spring/application/boot.rb:19:在<top (required)>' /home/leto/.rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in
要求' /home/leto/.rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' -e:1:in
' Bundler Error Backtrace: (Bundler :: GemRequireError) from /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:90:in block (2 levels) in require' from /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:86:in
each' from/home /leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:86:in block in require' from /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:75:in
每個' from/home/leto /.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:75:in require' from /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler.rb:106:in
要求'/ home/leto/rubyblog'中的' /config/application.rb:7:in <top (required)>' from /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spring-2.0.0/lib/spring/application.rb:82:in
需要/home/leto/.rbenv/versions/2.3.1/lib/ruby/ge中的' ms/2.3.0/gems/spring-2.0.0/lib/spring/application.rb:82:在preload' from /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spring-2.0.0/lib/spring/application.rb:143:in
服務' from /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/ 2.3.0/gems/spring-2.0.0/lib/spring/application.rb:131:在block in run' from /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spring-2.0.0/lib/spring/application.rb:125:in
循環' from /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3。 0/gems/spring-2.0.0/lib/spring/application.rb:125:run' from /home/leto/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/spring-2.0.0/lib/spring/application/boot.rb:19:in
' from /home/leto/.rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/core_ext /kernel_require.rb:55:in require' from /home/leto/.rbenv/versions/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in
需要 ' 從-e:1:''rails生成設備:安裝錯誤1
-4
A
回答
0
安裝的node.js Node js download link
0
這不是一個問題,但只是一個錯誤堆棧。請安裝nodejs和gem install uglifier
。這是缺少的,你的錯誤堆棧的確切的第一行
相關問題
- 1. APK設備安裝錯誤
- 2. 安裝mac:生成1錯誤(錯誤:'_GStaticAssertCompileTimeAssertion_0'聲明爲數組)
- 3. Rails安裝錯誤
- 4. 嘗試生成設計時出錯:在Ruby on Rails中安裝
- 5. 安裝Linux內核生成「gzip:stdout:設備上沒有空間」錯誤
- 6. 的Rails 4.1:無法生成器,讓「包安裝」錯誤
- 7. 安裝快速生成器錯誤
- 8. Spring IDE安裝錯誤1
- 9. Linux Rails Gem安裝錯誤
- 10. Rails插件安裝錯誤
- 11. Rails 4 beta1安裝錯誤
- 12. Rails - mysql2安裝錯誤
- 13. Rails腳本/生成錯誤
- 14. Maven集成安裝錯誤?
- 15. 無法在設備上安裝由Xcode Server bot生成的ipa
- 16. 從設計得到錯誤「用戶不響應'設計'方法」在運行時「rails生成設計:安裝」
- 17. 設計安裝錯誤
- 18. 設計安裝錯誤
- 19. 皮普安裝扭錯誤1
- 20. 錯誤代碼1安裝MySQL-python的
- 21. 錯誤安裝Visual Studio Service Pack 1的
- 22. Visual Studio安裝> PostBuildEvent錯誤碼「1」
- 23. '解析錯誤'當試圖安裝下面的設備最低sdk的設備上安裝apk
- 24. dev.off()中的錯誤:無法關閉設備1(空設備)
- 25. 在設備中安裝應用程序時出現錯誤
- 26. 「權限被拒絕」的錯誤,而安裝在設備上
- 27. Android無法在設備上安裝HelloWorld.apk(null)錯誤
- 28. 錯誤Android設備上未安裝應用程序?
- 29. 未能在設備'emulator-5554'上安裝* .apk錯誤
- 30. 在Android設備上安裝應用時出現的錯誤AndroidStudio
[ExecJS和找不到JavaScript運行時]的可能重複(http://stackoverflow.com/questions/6282307/execjs-and-could-not- find-a-javascript-runtime) – ArtOfCode
你已經分享了一個錯誤,但不是一個問題。如需幫助,請參閱「[如何提出一個好問題](http://stackoverflow.com/help/how-to-ask)」。當尋求調試幫助時(「爲什麼我會得到這個錯誤?」),您必須包含所需的行爲,特定的問題或錯誤,以及在問題本身中重現問題所需的最短代碼。沒有明確問題陳述的問題對其他讀者無益。有關此方面的幫助,請參閱「[如何創建最小,完整和可驗證示例](http://stackoverflow.com/help/mcve)」。 – jacefarm