#node process exited before we could connect to it with exit status: 1
5 messages · Page 1 of 1 (latest)
includePaths: path, here path is not defined
okay but when I try to include path using this syntax
const path = require('path');
module.exports = {
sassOptions: {
includePaths: [path.join(__dirname, 'styles')],
},
};
I get ES6 syntax error for require('path')
You are using .mjs extension so use es imports instead
import path from “path”