sparrow-js / an-codeai Goto Github PK
View Code? Open in Web Editor NEWAI generate code
Home Page: https://www.ancodeai.com/
License: MIT License
AI generate code
Home Page: https://www.ancodeai.com/
License: MIT License
node version: v18.19.0
npm version: 10.2.3
platform: windows x86-64
error log:
./components/lib/utils.ts:2:0
Module not found: Can't resolve 'tailwind-merge'
1 | import { type ClassValue, clsx } from "clsx";
2 | import { twMerge } from "tailwind-merge";
3 |
4 | export function cn(...inputs: ClassValue[]) {
5 | return twMerge(clsx(inputs));
https://nextjs.org/docs/messages/module-not-found
Import trace for requested module:
./components/components/ui/dialog.tsx
./components/components/OnboardingNote.tsx
./pages/index.tsx
根据给的 api key 和 proxy url,在线上网站的设置,OpenAI API key 里填入,上传图片后,报 openAI request error!
#FailureMessage Object: 0x7ffeeb20fd30
昨天还可以启动
今天npm i之后启动就卡在readying 5.65s.....
请问是哪里出了问题呢
Unhandled Runtime Error
ChunkLoadError: Loading chunk vendor failed.
(error: http://localhost:2229/excalidraw-assets-dev/vendor-1e45dd9aba63a718dcee.js)
Call Stack
nested_webpack_require_9336666.f.j
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5817:0)
nested_webpack_require_9336666.e/<
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5696:32)
nested_webpack_require_9336666.e
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5695:62)
webpack-internal:///../../../node_modules/browser-fs-access/dist/index.mjs (49:238)
../../../node_modules/browser-fs-access/dist/index.mjs
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5568:0)
nested_webpack_require_9336666
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5625:0)
webpack-internal:///../../data/filesystem.ts (7:94)
../../data/filesystem.ts
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (3764:0)
nested_webpack_require_9336666
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5625:0)
webpack-internal:///../../data/json.ts (11:88)
../../data/json.ts
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (3797:0)
nested_webpack_require_9336666
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5625:0)
webpack-internal:///../../scene/export.ts (13:87)
../../scene/export.ts
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (4545:0)
nested_webpack_require_9336666
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5625:0)
webpack-internal:///../utils.ts (27:90)
../utils.ts
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (4380:0)
nested_webpack_require_9336666
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5625:0)
webpack-internal:///../../frame.ts (38:92)
../../frame.ts
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (4116:0)
nested_webpack_require_9336666
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5625:0)
webpack-internal:///../../scene/selection.ts (14:83)
../../scene/selection.ts
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (4589:0)
nested_webpack_require_9336666
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5625:0)
webpack-internal:///../../scene/Scene.ts (7:87)
../../scene/Scene.ts
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (4501:0)
nested_webpack_require_9336666
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5625:0)
webpack-internal:///../../element/mutateElement.ts (7:89)
../../element/mutateElement.ts
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (3973:0)
nested_webpack_require_9336666
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5625:0)
webpack-internal:///../../element/sizeHelpers.ts (10:91)
../../element/sizeHelpers.ts
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (4028:0)
nested_webpack_require_9336666
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5625:0)
webpack-internal:///../../element/index.ts (51:89)
../../element/index.ts
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (3951:0)
nested_webpack_require_9336666
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5625:0)
webpack-internal:///../../scene/scrollbars.ts (9:85)
../../scene/scrollbars.ts
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (4578:0)
nested_webpack_require_9336666
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5625:0)
webpack-internal:///../../scene/index.ts (19:88)
../../scene/index.ts
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (4556:0)
nested_webpack_require_9336666
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5625:0)
webpack-internal:///../../actions/actionDeleteSelected.tsx (6:83)
../../actions/actionDeleteSelected.tsx
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (2147:0)
nested_webpack_require_9336666
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5625:0)
webpack-internal:///../../actions/index.ts (67:98)
../../actions/index.ts
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (2389:0)
nested_webpack_require_9336666
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5625:0)
webpack-internal:///../../components/App.tsx (22:85)
../../components/App.tsx
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (2532:0)
nested_webpack_require_9336666
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5625:0)
webpack-internal:///./index.tsx (55:92)
./index.tsx
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (4358:0)
nested_webpack_require_9336666
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5625:0)
webpack-internal:///./entry.js (54:83)
./entry.js
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (4347:0)
nested_webpack_require_9336666
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5625:0)
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5889:55)
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (5892:10)
webpackUniversalModuleDefinition@webpack-internal:///./node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (11:20)
node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js (18:1)
./node_modules/@excalidraw/excalidraw/dist/excalidraw.development.js
file:/an-codeAI/.next/static/chunks/components_components_Whiteboard_tsx.js (27:1)
options.factory
file:/an-codeAI/.next/static/chunks/webpack.js (707:31)
webpack_require
file:/an-codeAI/.next/static/chunks/webpack.js (37:33)
fn
file:/an-codeAI/.next/static/chunks/webpack.js (362:21)
node_modules/@excalidraw/excalidraw/main.js (10:2)
./node_modules/@excalidraw/excalidraw/main.js
file:/an-codeAI/.next/static/chunks/components_components_Whiteboard_tsx.js (37:1)
options.factory
file:/an-codeAI/.next/static/chunks/webpack.js (707:31)
webpack_require
file:/an-codeAI/.next/static/chunks/webpack.js (37:33)
fn
file:/an-codeAI/.next/static/chunks/webpack.js (362:21)
webpack-internal:///./components/components/Whiteboard.tsx (7:99)
./components/components/Whiteboard.tsx
file:/an-codeAI/.next/static/chunks/components_components_Whiteboard_tsx.js (64:1)
options.factory
file:/an-codeAI/.next/static/chunks/webpack.js (707:31)
webpack_require
file:/an-codeAI/.next/static/chunks/webpack.js (37:33)
fn
file:/an-codeAI/.next/static/chunks/webpack.js (362:21)
Application error: a client-side exception has occurred (see the browser console for more information).
可能是什么原因?配置的是三方接口地址和APIKEY
To accommodate new models, allow users to set ModelName
themselves.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.