Skip to content
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

Termux error #14

Open
wozniaczek123 opened this issue Nov 11, 2023 · 0 comments
Open

Termux error #14

wozniaczek123 opened this issue Nov 11, 2023 · 0 comments

Comments

@wozniaczek123
Copy link

It happens when I try to send message to chat gpt
IMG_20231111_111342.jpg

○ Compiling /error ...
Watchpack Error (watcher): Error: EACCES: permission denied, watch '/data/data'
Watchpack Error (watcher): Error: EACCES: permission denied, watch '/data'
Watchpack Error (watcher): Error: EACCES: permission denied, watch '/'
Watchpack Error (initial scan): Error: EACCES: permission denied, scandir '/data/data'
Watchpack Error (initial scan): Error: EACCES: permission denied, scandir '/data'
Watchpack Error (initial scan): Error: EACCES: permission denied, scandir '/'
✓ Compiled /error in 9.5s (196 modules)
Watchpack Error (watcher): Error: EACCES: permission denied, watch '/data/data'
Watchpack Error (watcher): Error: EACCES: permission denied, watch '/data' Watchpack Error (watcher): Error: EACCES: permission denied, watch '/'
Watchpack Error (initial scan): Error: EACCES: permission denied, scandir '/data/data'
Watchpack Error (initial scan): Error: EACCES: permission denied, scandir '/data'
Watchpack Error (initial scan): Error: EACCES: permission denied, scandir '/'
⚠ Fast Refresh had to perform a full reload. Read more: https://nextjs.org/docs/messages/fast-refresh-reload
[webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Unable to snapshot resolve dependencies ○ Compiling / ...
✓ Compiled / in 7.4s (848 modules) ⚠ Fast Refresh had to perform a full reload. Read more: https://nextjs.org/docs/messages/fast-refresh-reload [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Unable to snapshot resolve dependencies
[webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Unable to snapshot resolve dependencies ✓ Compiled /api/chat in 440ms (111 modules)
⨯ pages/api/chat.ts (10:22) @ eval ⨯ TypeError: openai__WEBPACK_IMPORTED_MODULE_0
.Configuration is not a constructor at eval (webpack-internal:///(api)/./pages/api/chat.ts:11:23) 8 |
9 | > 10 | const configuration = new Configuration({
| ^ 11 | apiKey: process.env.OPENAI_API_KEY,
12 | }); 13 |
[webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Unable to snapshot resolve dependencies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant