#node process exited before we could connect to it with exit status: 1

5 messages · Page 1 of 1 (latest)

covert atlas
#

guys whats wrong with my next.config.mjs

subtle sandal
covert atlas
#

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')

subtle sandal
#

import path from “path”