相关疑难解决方法(0)

在Ubuntu上安装Node.js.

我正在尝试在Ubuntu 12.10上安装Node.js,但终端显示有关丢失软件包的错误.我试过这个:

sudo apt-get install python-software-properties 
sudo add-apt-repository ppa:chris-lea/node.js 
sudo apt-get update 
sudo apt-get install nodejs npm
Run Code Online (Sandbox Code Playgroud)

但是,当我来到最后一行时sudo apt-get install nodejs npm显示此错误:

Failed to install some packages. This may mean that
you requested an impossible situation or if you are using the distribution
distribution that some required packages have not yet been created or been
been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
nodejs: Conflicts: npm …
Run Code Online (Sandbox Code Playgroud)

ubuntu node.js npm

198
推荐指数
6
解决办法
22万
查看次数

语法错误:要导入的文件未找到或不可读:基础/公共/比率

我安装了基础,当我编辑并保存app.scss文件时,它会在我项目的sass文件夹中创建一个"app.css"和一个"config.rb"文件.当我打开"app.css"文件时,我得到了这个

Syntax error: File to import not found or unreadable: foundation/common/ratios.
Run Code Online (Sandbox Code Playgroud)

然后根据我得到这个:

File to import not found or unreadable: foundation/common/ratios.
          Load paths:
            /Applications/MAMP/htdocs/WebApp02/sass
            /Library/Ruby/Gems/1.8/gems/compass-0.12.2/frameworks/blueprint/stylesheets
            /Library/Ruby/Gems/1.8/gems/compass-0.12.2/frameworks/compass/stylesheets
            Compass::SpriteImporter
    on line 1 of /Applications/MAMP/htdocs/WebApp02/sass/_settings.scss
    from line 2 of /Applications/MAMP/htdocs/WebApp02/sass/app.scss
Run Code Online (Sandbox Code Playgroud)

然后是我的宝石的一堆路径.

在我想知道是否有人可以解释为什么会发生这种情况之前,它从未在我的sass文件夹中创建app.css和config.rb文件.指南针仍然符合"样式表"文件夹中的app.css,但我想解决这个问题,以防止任何未来的错误发生.

config.rb文件看起来像这样

require 'zurb-foundation'
Require any additional compass plugins here.


Set this to the root of your project when deployed:
http_path = "/"
css_dir = "stylesheets"
sass_dir = "sass"
images_dir = "images"
javascripts_dir = "javascripts"

You can select your preferred output style here …
Run Code Online (Sandbox Code Playgroud)

terminal sass zurb-foundation compass-sass

11
推荐指数
1
解决办法
2万
查看次数

标签 统计

compass-sass ×1

node.js ×1

npm ×1

sass ×1

terminal ×1

ubuntu ×1

zurb-foundation ×1