To add the conversion from sass to css on my node I followed the steps of this tutorial , after completing it my file package.json
looks like this:
{
"name": "kimera",
"version": "0.4.4",
"description": "A Modern CSS and JS framework based on flexbox and custom tags",
"main": "css/kimera.css",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"scss": "node-sass -watch scss -o css"
},
"repository": {
"type": "git",
"url": "git+https://github.com/JorgeAntrax/kimera.git"
},
"keywords": [
"css",
"scss",
"flexbox",
"responsive",
"framework",
"modular",
"library",
"etiquetas",
"html5",
"css3",
"grid",
"libreria css",
"plantillas"
],
"author": "Leonardo Quintana Juarez",
"email": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/JorgeAntrax/kimera/issues"
},
"homepage": "http://kimera.comli.com",
"dependencies": {
"@types/jquery": "^3.3.1",
"@types/npm": "^2.0.29",
"chai": "^4.1.2",
"mocha": "^5.0.5",
"node-sass": "^4.8.3"
}
}
If you need here you can find my package-lock.json
.
The problem is that when trying to run npm run scss
I get the following error:
path.js: 28
throw new TypeError ('Path must be a string. Received' + inspect (path));
My versions of npm and node are ...
npm -version
5.5.1
node -v
v8.9.1
What should I change to make it work?