-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
アップデート時にShiki周りでエラーが出る #12324
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ubuntu22.04のサーバーでミスキーを最新版にアップデートしようとしたところ以下のようなエラーがでています。
packages/frontend build$ vite build
│ vite v4.4.11 building for production...
│ transforming...
│ ✓ 1368 modules transformed.
│ ✓ built in 44.22s
│ [vite]: Rollup failed to resolve import "shiki" from "/home/misskey/misskey/package…
│ This is most likely unintended because it can break your application at runtime.
│ If you do want to externalize this module explicitly add it to
│
build.rollupOptions.external
│ error during build:
│ Error: [vite]: Rollup failed to resolve import "shiki" from "/home/misskey/misskey/…
│ This is most likely unintended because it can break your application at runtime.
│ If you do want to externalize this module explicitly add it to
│
build.rollupOptions.external
│ at viteWarn (file:///home/misskey/misskey/node_modules/.pnpm/vite@4.4.11_@types…
│ at onRollupWarning (file:///home/misskey/misskey/node_modules/.pnpm/vite@4.4.11…
│ at onwarn (file:///home/misskey/misskey/node_modules/.pnpm/vite@4.4.11_@types+n…
│ at file:///home/misskey/misskey/node_modules/.pnpm/rollup@3.29.4/node_modules/r…
│ at Object.logger [as onLog] (file:///home/misskey/misskey/node_modules/.pnpm/ro…
│ at ModuleLoader.handleInvalidResolvedId (file:///home/misskey/misskey/node_modu…
│ at file:///home/misskey/misskey/node_modules/.pnpm/rollup@3.29.4/node_modules/r…
│ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
└─ Failed in 48.4s at /home/misskey/misskey/packages/frontend
これはどこかのファイルに何かしら追記すればいい感じでしょうか?
The text was updated successfully, but these errors were encountered: