Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pnpm build fails for gcp installation of flowise #69

Open
just4jc opened this issue May 8, 2024 · 0 comments
Open

pnpm build fails for gcp installation of flowise #69

just4jc opened this issue May 8, 2024 · 0 comments

Comments

@just4jc
Copy link

just4jc commented May 8, 2024

I'm trying to install flowise on gcp following the instructions here - configuration/deployment/gcp.md

Successfully cloned the flowise repo to my local env (M3 apple silicon) here using

git clone https://github.com/FlowiseAI/Flowise.git

next

cd Flowise
pnpm install
pnpm build

on running pnpm build received an error

 WARN  Unsupported engine: wanted: {"node":">=18.15.0 <19.0.0 || ^20"} (current: {"node":"v22.0.0","pnpm":"9.1.0"})

flowise@1.7.1 build /Users/georgeng/Documents/GitHub/Flowise
turbo run build

• Packages in scope: flowise, flowise-components, flowise-ui
• Running build in 3 packages
• Remote caching disabled
flowise-components:build: cache miss, executing ec79dc23b3f1e7dc
flowise-ui:build: cache miss, executing fe365f7e32feb03b
flowise-components:build:
flowise-components:build: > flowise-components@1.7.1 build /Users/georgeng/Documents/GitHub/Flowise/packages/components
flowise-components:build: > tsc && gulp
flowise-components:build:
flowise-ui:build:
flowise-ui:build: > flowise-ui@1.7.1 build /Users/georgeng/Documents/GitHub/Flowise/packages/ui
flowise-ui:build: > vite build
flowise-ui:build:
flowise-ui:build: The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
flowise-ui:build: vite v5.1.6 building for production...
flowise-components:build: [16:33:11] Requiring external module ts-node/register
flowise-components:build: [16:33:13] Using gulpfile ~/Documents/GitHub/Flowise/packages/components/gulpfile.ts
flowise-components:build: [16:33:13] Starting 'default'...
flowise-components:build: [16:33:13] 'default' errored after 118 ms
flowise-components:build: [16:33:13] TypeError: Cannot assign to read only property 'atime' of object '#'
flowise-components:build: at onFutimes (/Users/georgeng/Documents/GitHub/Flowise/node_modules/.pnpm/vinyl-fs@3.0.3/node_modules/vinyl-fs/lib/file-operations.js:258:27)
flowise-components:build: at FSReqCallback.oncomplete (node:fs:188:23)
flowise-components:build: at FSReqCallback.callbackTrampoline (node:internal/async_hooks:130:17)
flowise-components:build:  ELIFECYCLE  Command failed with exit code 1.
flowise-components:build: ERROR: command finished with error: command (/Users/georgeng/Documents/GitHub/Flowise/packages/components) /opt/homebrew/bin/pnpm run build exited (1)

flowise-components#build: command (/Users/georgeng/Documents/GitHub/Flowise/packages/components) /opt/homebrew/bin/pnpm run build exited (1)

Tasks: 0 successful, 2 total
Cached: 0 cached, 2 total
Time: 16.786s
Failed: flowise-components#build

ERROR run failed: command exited (1)
 ELIFECYCLE  Command failed with exit code 1.

Did I miss anything?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant