panoratech / Panora

One API to connect your data sources to your LLMs
https://docs.panora.dev
Apache License 2.0
944 stars 193 forks source link

build magi-link-front end >>> { 'dist' folder does not found } #731

Open Abubaker779 opened 2 days ago

Abubaker779 commented 2 days ago

ON Running Command

docker compose docker-compose.source.yml up

build is failing hence image does not formed successfully.

image

may be this happens because someone have not passes that tests successfully and merged it into the repo.

this has to be fixed. ( crucial for opensource contributors )

build process of magic-link-frontend unsuccessfull.

dist folder ont found.

Abubaker779 commented 2 days ago

@rflihxyz assign it to me i want to work on this issue.

rflihxyz commented 1 day ago

Hello, thanks for sharing about this issue.

I confirm I've been able to reproduce the issue using commit bc4dbbe

The issue was reproduced on a Github codespace with 2core and 2GB RAM, but the build worked well on a more powerful machine. The build also works on mac (m3 pro).

Something that fixes the build bug on low specs machines is creating a npmrc file at the root like this: echo -e "node-linker=hoisted\n package-import-method=clone-or-copy" > .npmrc

Please confirm that fixes the bug for you @Abubaker779 :)

Abubaker779 commented 1 day ago

@rflihxyz , thanks for helping me out.

it works perfectly fine.