para agregar la conversión de sass a css en mi node seguí los pasos de este tutorial, tras completarlo mi archivo package.json
luce así:
{
"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"
}
}
Si se necesita aquí puedes hallar mi package-lock.json
.
El problema es que al tratar de correr npm run scss
obtengo el siguiente error:
path.js:28
throw new TypeError('Path must be a string. Received ' + inspect(path));
Mis versiones de npm y de node son...
npm -version
5.5.1
node -v
v8.9.1
¿Qué debo de cambiar para que funcione?