You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i create a brand new project and run npm run build i get the following error:
/path/to/project/node_modules/@remix-run/dev/cli/create.js:26
var sortPackageJSON = require('sort-package-json');
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /path/to/project/node_modules/sort-package-json/index.js from /path/to/project/node_modules/@remix-run/dev/cli/create.js not supported.
Instead change the require of index.js in /path/to/project/node_modules/@remix-run/dev/cli/create.js to a dynamic import() which is available in all CommonJS modules.
When i create a brand new project and run
npm run build
i get the following error:I took the following steps:
npm run setup
npm run build
i am using Node.js v17.2.0
The text was updated successfully, but these errors were encountered: