Replies: 2 comments
-
Ok, I had to delete the folder node_modules and than "npm install" |
Beta Was this translation helpful? Give feedback.
0 replies
-
closed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I followed the instructions, except installing Ollama. Everything seems to look good, but when I wanted to start program: npm run chat
I get the folloing error.
##############################################
node:internal/modules/cjs/loader:444
const err = new Error(
^
Error: Cannot find module ....\GPT_GUI\chatbot-ui\node_modules\braces\index.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (node:internal/modules/cjs/loader:444:19)
at Module._findPath (node:internal/modules/cjs/loader:715:18)
at Module._resolveFilename (node:internal/modules/cjs/loader:1130:27)
at ....\chatbot-ui\node_modules\next\dist\server\require-hook.js:55:36
at Module._load (node:internal/modules/cjs/loader:985:27)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at mod.require (....\chatbot-ui\node_modules\next\dist\server\require-hook.js:65:28)
at require (node:internal/modules/helpers:176:18)
at Object. (.....\chatbot-ui\node_modules\micromatch\index.js:4:16)
at Module._compile (node:internal/modules/cjs/loader:1376:14) {
code: 'MODULE_NOT_FOUND',
path: '....\chatbot-ui\node_modules\braces\package.json',
requestPath: 'braces'
}
Node.js v20.10.0
##############################################
In \braces is no file index.js.
How can I fix this?
Thanks for help.
BR
Beta Was this translation helpful? Give feedback.
All reactions