bugdriven
bugdriven
Thanks. That will be appreciated!
I now get the following: var _layout = _interopRequireDefault(requireJSX("./layout", __dirname)); ^ ReferenceError: Cannot access 'requireJSX' before initialization
Now I get: node:internal/modules/cjs/loader:1109 throw new ERR_REQUIRE_ESM(filename, parentPath, packageJsonPath); ^ Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: E:\Scrape\LM\createLoader.js require() of ES modules is not supported. require() of E:\Scrape\LM\createLoader.js...
That result in the following: (node:18088) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension. E:\Scrape\LM\serve.js:1 import express from 'express' ^^^^^^ SyntaxError:...
Sorry about that...:) With that change I get the exact same error as the previous. FYI: don't know if this is relevant, but the createLoader.js is imported from db.jsx, and...