Error While installing #1162
Unanswered
deniznobody
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
└ Error: Command failed with exit code 1: pnpm svelte-kit sync file:///C:/Users/deniz/Desktop/Projects/Rust%20Folder/Saturn/saturn-fe/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@sveltejs/vite-plugin-svelte/src/index.js:3 import { svelteInspector } from '@sveltejs/vite-plugin-svelte-inspector'; ^^^^^^^^^^^^^^^ SyntaxError: Named export 'svelteInspector' not found. The requested module '@sveltejs/vite-plugin-svelte-inspector' is ┌ shadcn-svelte v0.10.7 │ └ Error: Command failed with exit code 1: pnpm svelte-kit sync (node:12248) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension. (Use node --trace-warnings ...
to show where the warning was created)C:\Users\deniz\Desktop\Projects\Rust Folder\Saturn\saturn-fe\node_modules.pnpm@sveltejs+vite-plugin-svelte-inspector@2.1.0_@sveltejs+vite-plugin-svelte@[email protected]_3gy647mlwo3fiitssfn6ixt6xy\node_modules@sveltejs\vite-plugin-svelte-inspector\src\index.js:1
import { normalizePath } from 'vite';
^^^^^^
SyntaxError: Cannot use import statement outside a module
at internalCompileFunction (node:internal/vm:77:18)
at wrapSafe (node:internal/modules/cjs/loader:1287:20)
at Module._compile (node:internal/modules/cjs/loader:1339:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1434:10)
at Module.load (node:internal/modules/cjs/loader:1206:32)
at Module._load (node:internal/modules/cjs/loader:1022:12)
at cjsLoader (node:internal/modules/esm/translators:358:17)
at ModuleWrap. (node:internal/modules/esm/translators:307:7)
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)
Node.js v21.5.0
at makeError (file:///C:/Users/deniz/AppData/Local/pnpm-cache/dlx/dc3nzogfedqjl7m2xkaxkbk3ii/190217c12a9-459c/node_modules/.pnpm/[email protected]/node_modules/execa/lib/error.js:60:11)
at handlePromise (file:///C:/Users/deniz/AppData/Local/pnpm-cache/dlx/dc3nzogfedqjl7m2xkaxkbk3ii/190217c12a9-459c/node_modules/.pnpm/[email protected]/node_modules/execa/index.js:124:26)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Je (file:///C:/Users/deniz/AppData/Local/pnpm-cache/dlx/dc3nzogfedqjl7m2xkaxkbk3ii/190217c12a9-459c/node_modules/.pnpm/[email protected]/node_modules/shadcn-svelte/dist/index.js:54:2507)
at async mi (file:///C:/Users/deniz/AppData/Local/pnpm-cache/dlx/dc3nzogfedqjl7m2xkaxkbk3ii/190217c12a9-459c/node_modules/.pnpm/[email protected]/node_modules/shadcn-svelte/dist/index.js:235:1598)
at async Command. (file:///C:/Users/deniz/AppData/Local/pnpm-cache/dlx/dc3nzogfedqjl7m2xkaxkbk3ii/190217c12a9-459c/node_modules/.pnpm/[email protected]/node_modules/shadcn-svelte/dist/index.js:235:1466)``
I'm just using the commands from the site to install.
Beta Was this translation helpful? Give feedback.
All reactions