waylaidwanderer / PandoraAI

PandoraAI is a web chat client powered by node-chatgpt-api, allowing users to easily chat with multiple AI systems while also offering support for custom presets. With its seamless and convenient design, PandoraAI provides an engaging conversational AI experience.
https://github.com/waylaidwanderer/node-chatgpt-api
MIT License
840 stars 219 forks source link

Error: Could not load file #50

Closed Sissidark closed 1 year ago

Sissidark commented 1 year ago

Describe the bug cant load file

Screenshots image

error info

Nuxi 3.3.2 09:47:30 Nuxt 3.3.2 with Nitro 2.3.2 09:47:30 09:47:31

i Using default Tailwind CSS file from runtime/tailwind.css nuxt:tailwindcss 09:47:32 i Tailwind Viewer: http://localhost:3000/_tailwind/ nuxt:tailwindcss 09:47:33 √ PWA icons and splash screens generated in 1601 ms 09:47:34 i Vite client warmed up in 6102ms 09:47:41

ERROR Error: Could not load file:///D:/Programing/nodejs/node_global/node_modules/@waylaidwanderer/PandoraAI/.nuxt/dist/server/client.manifest.mjs (imported by node_modules/nuxt/dist/core/runtime/nitro/renderer.js): ENOENT: no such file or directory, open 'D:\Programing\nodejs\node_global\node_modules\@waylaidwanderer\PandoraAI\file:\D:\Programing\nodejs\node_global\node_modules\@waylaidwanderer\PandoraAI.nuxt\dist\server\client.manifest.mjs'

undefined

√ Nitro built in 2123 ms

waylaidwanderer commented 1 year ago

You may need to delete node_modules and run npm install again. Also, ensure you're on Node 18 for best results.

Sissidark commented 1 year ago

You may need to delete node_modules and run npm install again. Also, ensure you're on Node 18 for best results.

Still not working, same error, I have installed node18.15 by nvm

image image image image

Sissidark commented 1 year ago

Is there a problem with the path? You can see that the path is repeated in the error message. image

waylaidwanderer commented 1 year ago

I've never seen anything like that before. If it's a Nuxt issue perhaps you should open an issue on their repo?

Sissidark commented 1 year ago

I've never seen anything like that before. If it's a Nuxt issue perhaps you should open an issue on their repo?

ok.anyway thanks for your help.

Sissidark commented 1 year ago

I've never seen anything like that before. If it's a Nuxt issue perhaps you should open an issue on their repo?

I have solved this problem. I put PandoraAI in the same directory as node-chatgpt-api before, but it couldn't run. I moved it to my desktop now and it works fine. Thank you!