Git Product home page Git Product logo

Comments (4)

cghobbs avatar cghobbs commented on June 12, 2024 3

Confirmed that adding

export DOCKER_DEFAULT_PLATFORM=linux/amd64

to my ~/.zshrc then running

source ~/.zshrc`

fixed the issue for me.

from langflow.

ogabrielluiz avatar ogabrielluiz commented on June 12, 2024 2

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.

LuisMalhadas avatar LuisMalhadas commented on June 12, 2024 1

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.

thomasklein avatar thomasklein commented on June 12, 2024

Plus 1

from langflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.