reactesse-edge-template
reactesse-edge-template copied to clipboard
Fresh installation doesn't work. `ERR_UNKNOWN_MODULE_FORMAT`
Fresh installation doesn't work.
Procedures
git clone https://github.com/frandiox/reactesse-edge-template template
cd template
pnpm install # yarn install
pnpm dev # yarn dev
Outputs:
> reactesse-edge@ dev /home/_____/template
> vitedge --ssr --port 3333 --open
(node:5225) ExperimentalWarning: Custom ESM Loaders is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
(node:5225) ExperimentalWarning: The Node.js specifier resolution flag is experimental. It could change or be removed at any time.
(node:5225) DeprecationWarning: Obsolete loader hook(s) supplied and will be ignored: transformSource
(node:5225) ExperimentalWarning: The Node.js specifier resolution in ESM is experimental.
RangeError [ERR_UNKNOWN_MODULE_FORMAT]: Unknown module format: null for URL file:///home/_____/template/node_modules/.bin/vite-ssr
at new NodeError (node:internal/errors:393:5)
at ESMLoader.load (node:internal/modules/esm/loader:650:13)
at async ESMLoader.moduleProvider (node:internal/modules/esm/loader:457:11)
at async link (node:internal/modules/esm/module_job:67:21) {
code: 'ERR_UNKNOWN_MODULE_FORMAT'
}
Environment
- node: lts (v18.12.1)
- yarn: v1.22.19 | pnpm: v7.16.0
- OS: Ubuntu 20 (WSL) / Windows 10 21H2 (LTSC 2021) Build 19044.2251
- Shell: bash / pwsh
Missing?
Is that vitedge properly maintained? I'm switching to historical commit then.
Hi, is this template still in maintenance? if it is convenient for you to help solving out-of-box problems, it would be appreciated so much.