ERROR Command failed with exit code 1: node ./server/index.mjs 21:13:14
at makeError (/C:/Programming/Typescript/dinokupinic/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/chunks/index3.mjs:1272:11)
at handlePromise (/C:/Programming/Typescript/dinokupinic/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/chunks/index3.mjs:2510:26)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.run (/C:/Programming/Typescript/dinokupinic/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/chunks/preview.mjs:124:5)
at async runCommand$1 (/C:/Programming/Typescript/dinokupinic/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/shared/nuxi.6aad497e.mjs:1648:16)
at async runCommand$1 (/C:/Programming/Typescript/dinokupinic/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/shared/nuxi.6aad497e.mjs:1639:11)
at async runMain$1 (/C:/Programming/Typescript/dinokupinic/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/shared/nuxi.6aad497e.mjs:1777:7)
[ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Programming\Typescript\dinokupinic\.output\server\node_modules\shiki\dist\core.mjs' imported from C:\Programming\Typescript\dinokupinic\.output\server\index.mjs
at finalizeResolution (node:internal/modules/esm/resolve:264:11)
at moduleResolve (node:internal/modules/esm/resolve:917:10)
at defaultResolve (node:internal/modules/esm/resolve:1130:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
at link (node:internal/modules/esm/module_job:84:36) {
ERROR Command failed with exit code 1: node ./server/index.mjs 21:13:14
at makeError (/C:/Programming/Typescript/dinokupinic/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/chunks/index3.mjs:1272:11)
at handlePromise (/C:/Programming/Typescript/dinokupinic/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/chunks/index3.mjs:2510:26)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.run (/C:/Programming/Typescript/dinokupinic/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/chunks/preview.mjs:124:5)
at async runCommand$1 (/C:/Programming/Typescript/dinokupinic/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/shared/nuxi.6aad497e.mjs:1648:16)
at async runCommand$1 (/C:/Programming/Typescript/dinokupinic/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/shared/nuxi.6aad497e.mjs:1639:11)
at async runMain$1 (/C:/Programming/Typescript/dinokupinic/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/shared/nuxi.6aad497e.mjs:1777:7)
Beginner question - Hydration problem on computed property
for example dark/light mode is based on user, server doesnt know it, so there will be hydration issue. That is why you should put dark/light toggle switch in ClientOnly