我开始使用node并尝试设置开发环境。我已经安装了eyeglass,以及normalize-scss,bourbon和neat。我已经按照眼镜页面上的说明安装其他模块(npm install [module-name] --save-dev
),但是,当我尝试编译sass代码时,却遇到了错误File to import not found or unreadable: normalize.
。当我第一次导入它们时,也对波旁威士忌和整齐的饼干显示此错误。我在原子中使用sass-autocompile,但是通常使用node-sass进行编译会产生相同的结果。我的package.json如下所示:
{
"name": "ising-model",
"version": "1.0.0",
"description": "ising model on the web",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/heyrichardshi/ising-model.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/heyrichardshi/ising-model/issues"
},
"homepage": "https://github.com/heyrichardshi/ising-model#readme",
"devDependencies": {
"bourbon": "^5.1.0",
"bourbon-neat": "^3.0.1",
"eyeglass": "^2.4.1",
"normalize-scss": "^7.0.1"
},
"dependencies": {}
}