Isi package.json:

{
"name": "natours",
"version": "1.0.0",
"description": "Landing page for Natours",
"main": "index.js",
"dependencies": {},
"devDependencies": {
"node-sass": "^4.5.3"
},
"scripts": {
"compile:sass": "node-sass sass/main.scss css/style.css"
},
"author": "A",
"license": "ISC"

Saat menjalankan 'npm run compile: sass' on terminal, menghasilkan:

Rendering Complete, saving .css file...
Wrote CSS to /Users/AfterXII/Desktop/advanced-css-course- 
master/Natours/css/style.comp.cssenter code here

Namun, tidak ada output CSS yang benar-benar dihasilkan. css / style.css tetap kosong.

Jelas ada yang salah dengan saya di sini?


sumber