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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
我按照frontend/readme 进行启动,首先遇到一个问题是frontend/package.json中REGION不是内外部命令,然后我加上了cross-env,再次运行rushx dev单独启动前端项目出现如下问题。
File: D:\workspace\coze-loop\frontend\packages\cozeloop\prompt-pages\src\playground\index.tsx:1:1$RefreshSig$ ();
× Module not found: Can't resolve '@/hooks/use-playground' in 'D:\workspace\coze-loop\frontend\packages\cozeloop\prompt-pages\src\playground'
╭─[5:30]
3 │ import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
4 │ var _s =
5 │ import { usePlayground } from '@/hooks/use-playground';
· ────────────────────────
6 │ import { PromptDev } from '@/components/prompt-dev';
7 │ export function Playground() {
╰────
@ ../../packages/cozeloop/prompt-pages/src/app.tsx
@ ../../packages/cozeloop/prompt-pages/src/index.ts
@ ./src/routes/index.tsx
@ ./src/app.tsx
@ ./src/index.tsx
File: D:\workspace\coze-loop\frontend\packages\cozeloop\prompt-pages\src\playground\index.tsx:1:1$RefreshSig$ ();
× Module not found: Can't resolve '@/components/prompt-dev' in 'D:\workspace\coze-loop\frontend\packages\cozeloop\prompt-pages\src\playground'
╭─[6:26]
4 │ var _s =
5 │ import { usePlayground } from '@/hooks/use-playground';
6 │ import { PromptDev } from '@/components/prompt-dev';
· ─────────────────────────
7 │ export function Playground() {
8 │ _s();
╰────
@ ../../packages/cozeloop/prompt-pages/src/app.tsx
@ ../../packages/cozeloop/prompt-pages/src/index.ts
@ ./src/routes/index.tsx
@ ./src/app.tsx
@ ./src/index.tsx
Beta Was this translation helpful? Give feedback.
All reactions