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
Currently I can not build this website locally based on the current main branch.
❯ npm install
npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
> postinstall
> nuxt prepare
Nuxi 3.3.0 01:56:27
✔ Types generated in .nuxt 01:56:30
added 1139 packages, and audited 1140 packages in 1m
305 packages are looking for funding
run `npm fund`for details
1 high severity vulnerability
Some issues need review, and may require choosing
a different dependency.
Run `npm audit`for details.
❯ du -sh node_modules
375M node_modules
❯ npm run build
> build
> nuxt build
Nuxi 3.3.0 01:56:44
Nuxt 3.3.0 with Nitro 2.3.1 01:56:44
ℹ Building client... 01:56:48
ℹ vite v4.1.4 building for production... 01:56:48
ℹ ✓ 252 modules transformed. 01:56:53
...
✔ Server built in 3658ms 01:56:57
✔ Generated public .output/public nitro 01:56:57
ℹ Initializing prerenderer nitro 01:56:57
ERROR Named export'postprocess' not found. The requested module 'file:///Users/scheiba/github/gencaster.github.io/node_modules/micromark/lib/postprocess.js' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'file:///Users/scheiba/github/gencaster.github.io/node_modules/micromark/lib/postprocess.js';
const { postprocess } = pkg;
import { postprocess } from 'node_modules/micromark/lib/postprocess.js';
^^^^^^^^^^^
SyntaxError: Named export'postprocess' not found. The requested module 'node_modules/micromark/lib/postprocess.js' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'node_modules/micromark/lib/postprocess.js';
const { postprocess } = pkg;
at ModuleJob._instantiate (node:internal/modules/esm/module_job:123:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:189:5)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:527:24)
at async prerender (node_modules/nitropack/dist/shared/nitro.5bf777ca.mjs:4131:26)
at async node_modules/nuxt/dist/index.mjs:2111:7
at async build (node_modules/nuxt/dist/index.mjs:2928:5)
at async Object.invoke (node_modules/nuxi/dist/chunks/build.mjs:59:5)
at async _main (node_modules/nuxi/dist/cli.mjs:49:20)
❯ node --version
v18.9.0
Dev server also fails to run.
Using yarn seems to work somehow... [it is really time to bury the node ecosystem...]
The text was updated successfully, but these errors were encountered:
Currently I can not build this website locally based on the current
main
branch.Dev server also fails to run.
Using yarn seems to work somehow... [it is really time to bury the node ecosystem...]
The text was updated successfully, but these errors were encountered: