langflow icon indicating copy to clipboard operation
langflow copied to clipboard

Module not found: Error: Can't resolve '/home/node/app/src/index.tsx' in '/home/node/app'

Open xiaoyhuang123 opened this issue 1 year ago • 3 comments

Compiled with problems:X

ERROR

Module not found: Error: Can't resolve '/home/node/app/src/index.tsx' in '/home/node/app'

xiaoyhuang123 avatar May 06 '23 02:05 xiaoyhuang123

@xiaoyhuang123 can you provide details for reproduction? Environment, OS, etc.

rodrigosnader avatar May 06 '23 02:05 rodrigosnader

ok Linux us-aigc 5.10.134-13.al8.x86_64 #1 SMP Mon Jan 9 10:50:49 CST 2023 x86_64 x86_64 x86_64 GNU/Linux

branch is dev

and start the application by docker-compose up -d

and then i visit : localhost:3000, the error message below appear:

Compiled with problems:X

ERROR in ./src/modals/chatModal/fileComponent/index.tsx 5:0-38

Module not found: Error: Can't resolve 'base64-js' in '/home/node/app/src/modals/chatModal/fileComponent'

ERROR in src/modals/chatModal/fileComponent/index.tsx:2:27

TS2307: Cannot find module 'base64-js' or its corresponding type declarations. 1 | import { CloudArrowDownIcon, DocumentIcon } from "@heroicons/react/24/outline";

2 | import * as base64js from 'base64-js'; | ^^^^^^^^^^^ 3 | 4 | export default function FileCard({ fileName, content, fileType }) { 5 | const handleDownload = () => {

xiaoyhuang123 avatar May 06 '23 03:05 xiaoyhuang123

Can you start the application with the command "make dev build=1" and tell me if the issue still persists please?

lucaseduoli avatar May 07 '23 04:05 lucaseduoli

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 21 '23 06:06 stale[bot]