Comments (4)
Confirmed that adding
export DOCKER_DEFAULT_PLATFORM=linux/amd64
to my ~/.zshrc then running
source ~/.zshrc`
fixed the issue for me.
from langflow.
I have this in my ~/.zshrc:
export DOCKER_DEFAULT_PLATFORM=linux/amd64
Maybe try running
DOCKER_DEFAULT_PLATFORM=linux/amd64 make dev build=1
Maybe this could help you. I think I also have Rosetta activated in Docker.
from langflow.
I confirm, @ogabrielluiz solution works. Thanks.
But in my case with a bunch of warnings (and it might be useful to document that):
(node:35) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
langflow-frontend-1 | (Use `node --trace-deprecation ...` to show where the warning was created)
langflow-frontend-1 | (node:35) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
langflow-frontend-1 | Starting the development server...
langflow-frontend-1 |
langflow-frontend-1 | Compiled with warnings.
langflow-frontend-1 |
langflow-frontend-1 | [eslint]
langflow-frontend-1 | src/App.tsx
langflow-frontend-1 | Line 112:29: 'window.location.href' is assigned to itself no-self-assign
langflow-frontend-1 | Line 158:4: Using target="_blank" without rel="noreferrer" (which implies rel="noopener") is a security risk in older browsers: see https://mathiasbynens.github.io/rel-noopener/#recommendations react/jsx-no-target-blank
langflow-frontend-1 |
langflow-frontend-1 | src/alerts/alertDropDown/index.tsx
langflow-frontend-1 | Line 9:39: Unexpected empty object pattern no-empty-pattern
langflow-frontend-1 | Line 30:5: React Hook useEffect has a missing dependency: 'closePopUp'. Either include it or remove the dependency array react-hooks/exhaustive-deps
langflow-frontend-1 |
langflow-frontend-1 | src/alerts/error/index.tsx
langflow-frontend-1 | Line 2:23: 'XMarkIcon' is defined but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 |
langflow-frontend-1 | src/alerts/notice/index.tsx
langflow-frontend-1 | Line 2:33: 'XMarkIcon' is defined but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 |
langflow-frontend-1 | src/alerts/success/index.tsx
langflow-frontend-1 | Line 2:27: 'XMarkIcon' is defined but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 |
langflow-frontend-1 | src/components/ExtraSidebarComponent/index.tsx
langflow-frontend-1 | Line 2:10: 'ChevronLeftIcon' is defined but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 | Line 12:5: 'setIsStackedOpen' is assigned a value but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 |
langflow-frontend-1 | src/components/chatComponent/chatMessage/index.tsx
langflow-frontend-1 | Line 1:10: 'ChatBubbleLeftEllipsisIcon' is defined but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 | Line 1:70: 'PlusSmallIcon' is defined but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 |
langflow-frontend-1 | src/components/chatComponent/index.tsx
langflow-frontend-1 | Line 6:2: 'XMarkIcon' is defined but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 | Line 8:10: 'MouseEventHandler' is defined but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 | Line 19:42: 'flows' is assigned a value but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 | Line 19:48: 'tabIndex' is assigned a value but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 |
langflow-frontend-1 | src/modals/exportModal/index.tsx
langflow-frontend-1 | Line 5:2: 'DocumentDuplicateIcon' is defined but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 | Line 6:2: 'ComputerDesktopIcon' is defined but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 | Line 100:74: Expected '!==' and instead saw '!=' eqeqeq
langflow-frontend-1 |
langflow-frontend-1 | src/modals/importModal/buttonBox/index.tsx
langflow-frontend-1 | Line 2:10: 'DocumentDuplicateIcon' is defined but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 |
langflow-frontend-1 | src/modals/importModal/index.tsx
langflow-frontend-1 | Line 4:2: 'ArrowDownTrayIcon' is defined but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 |
langflow-frontend-1 | src/pages/FlowPage/components/tabsManagerComponent/index.tsx
langflow-frontend-1 | Line 1:33: 'useState' is defined but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 | Line 21:49: 'uploadFlow' is assigned a value but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 | Line 21:61: 'downloadFlow' is assigned a value but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 |
langflow-frontend-1 | src/pages/FlowPage/index.tsx
langflow-frontend-1 | Line 9:2: 'ControlButton' is defined but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 | Line 31:37: 'downloadFlow' is assigned a value but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 | Line 31:51: 'uploadFlow' is assigned a value but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 |
langflow-frontend-1 | src/utils.ts
langflow-frontend-1 | Line 10:3: 'PaperClipIcon' is defined but never used @typescript-eslint/no-unused-vars
langflow-frontend-1 |
langflow-frontend-1 | Search for the keywords to learn more about each warning.
langflow-frontend-1 | To ignore, add // eslint-disable-next-line to the line before.
from langflow.
Plus 1
from langflow.
Related Issues (20)
- Trouble Connecting Custom LLM to Agent HOT 4
- Feature Request: Make `Credentials` field optional in `VertexAI` and `ChatVertexAI`; use ADC if left blank HOT 1
- Temperature Sensitivity in Flow Compilation: Response Discrepancies at Different Settings. HOT 7
- ImportError for DEFAULT_CONNECTION_STRING in langchain.memory.chat_message_histories.postgres HOT 4
- Unable to see export JSON option HOT 7
- Failed to build AgentInitializerComponent HOT 4
- ImportError: cannot import name 'DEFAULT_CONNECTION_STRING' from 'langchain.memory.chat_message_histories.postgres' HOT 3
- Error while installing the 0.6.2 version. HOT 1
- cannot import name 'DEFAULT_CONNECTION_STRING' in v0.6.3a5 HOT 2
- Community examples tab missing HOT 10
- Can't set username for store - permission issue HOT 3
- The components panel is empty HOT 29
- Feature Request for Vectara's Self Query Retriever. HOT 1
- Qianfan LLM Not Response HOT 3
- Failed to execute 'send' on 'WebSocket': Still in CONNECTING state. HOT 3
- Failed to start backend with error 'table _alembic_tmp_apikey already exists' HOT 9
- {"detail":"BaseModel.validate() takes 2 positional arguments but 3 were given"} HOT 1
- RetrievalQAChain cannot add prompt. HOT 1
- Question: Cannot link Agent Initializer to another Agent Initializer via a Tool HOT 1
- Not able to load local model via API HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from langflow.