我输入 gem和sass的都有问题?老师看下,为啥,
babel还没安装好,这又安装个这东西,又出错 跟着教程都会出错误,怎么不一样呢?
还能不能继续往下学了!!!!!!!!!!!!!!!!!!!!!!
C:\Users\Administrator>gem -v
Traceback (most recent call last):
23: from <internal:gem_prelude>:5:in `<internal:gem_prelude>'
22: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
21: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
20: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean.rb:5:in `<top (required)>'
19: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
18: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
17: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/name_error_checkers.rb:1:in `<top (required)>'
16: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
15: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
14: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb:2:in `<top (required)>'
13: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:39:in `require'
12: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
11: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems.rb:213:in `try_activate'
10: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/specification.rb:1063:in `find_by_path'
9: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/specification.rb:1063:in `find'
8: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/specification.rb:1063:in `each'
7: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/specification.rb:1064:in `block in find_by_path'
6: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:39:in `require'
5: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
4: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems.rb:213:in `try_activate'
3: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/specification.rb:1063:in `find_by_path'
2: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/specification.rb:1063:in `find'
1: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/specification.rb:1063:in `each'
D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/specification.rb:1064:in `block in find_by_path': uninitialized constant Gem::BundlerVersionFinder (NameError)
C:\Users\Administrator>gem install sass
Traceback (most recent call last):
23: from <internal:gem_prelude>:5:in `<internal:gem_prelude>'
22: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
21: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
20: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean.rb:5:in `<top (required)>'
19: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
18: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
17: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/name_error_checkers.rb:1:in `<top (required)>'
16: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
15: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
14: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb:2:in `<top (required)>'
13: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:39:in `require'
12: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
11: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems.rb:213:in `try_activate'
10: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/specification.rb:1063:in `find_by_path'
9: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/specification.rb:1063:in `find'
8: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/specification.rb:1063:in `each'
7: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/specification.rb:1064:in `block in find_by_path'
6: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:39:in `require'
5: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
4: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems.rb:213:in `try_activate'
3: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/specification.rb:1063:in `find_by_path'
2: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/specification.rb:1063:in `find'
1: from D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/specification.rb:1063:in `each'
D:/新装软件/ruby/Ruby25-x64/lib/ruby/2.5.0/rubygems/specification.rb:1064:in `block in find_by_path': uninitialized constant Gem::BundlerVersionFinder (NameError)
C:\Users\Administrator>sass -v
'sass' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
C:\Users\Administrator>
正在回答
同学你好,有些软件默认会将配置相关的信息安装到C盘,如果安装到其它盘可能就会造成一些列未知的错误,所以一般推荐是直接装在C盘。
同学能够找到错误,真棒,以后遇到问题时我们也不要急躁,慢慢解决就可以了 ,在解决过程中,也对是我们处理错误能力的一种提升哦。
如果我的回答帮助到了你,欢迎采纳,祝学习愉快~
同学你好,gem是Mac电脑上命令,在windows电脑上不可以使用的。
window电脑上安装sass, 可以参考我们提供的教辅资料
如果安装过程中遇到问题,可以在问答区详细描述下具体做了哪些操作,老师一定会想办法帮助同学解决的。
如果我的回答帮助到了你,欢迎采纳,祝学习愉快~
- 参与学习 人
- 提交作业 239 份
- 解答问题 10739 个
本阶段带你深入前端开发的肌理,通过ES6基础知识和前端主流高级框架的学习,助你快速构建企业级移动webAPP应用,进入职场的终极battle
了解课程
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星