langflow
langflow copied to clipboard
Module not found: Error: Can't resolve '/home/node/app/src/index.tsx' in '/home/node/app'
Compiled with problems:X
ERROR
Module not found: Error: Can't resolve '/home/node/app/src/index.tsx' in '/home/node/app'
@xiaoyhuang123 can you provide details for reproduction? Environment, OS, etc.
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 = () => {
Can you start the application with the command "make dev build=1" and tell me if the issue still persists please?
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.