raidendotai / cofounder

ai-generated apps , full stack + generative UI
https://cofounder.openinterface.ai/
MIT License
5.37k stars 586 forks source link

Installation failed #19

Open a3igner opened 3 weeks ago

a3igner commented 3 weeks ago

Trying to install (have Nodemon installed manually local, not global) I get this error when trying to install cofounder using the suggested prompt:

npx @openinterface/cofounder

[nodemon] starting `node --loader esm-module-alias/loader --no-warnings server.js`
import fs, {constants as fsConstants} from 'node:fs/promises';
            ^^^^^^^^^
SyntaxError: The requested module 'node:fs/promises' does not provide an export named 'constants'
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:181:5)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:281:24)
    at async loadESM (node:internal/process/esm_loader:88:5)
    at async handleMainPromise (node:internal/modules/run_main:65:12)
[nodemon] app crashed - waiting for file changes before starting...
hellomikko commented 3 weeks ago

ive been getting the same thing 10 times now

raidendotai commented 3 weeks ago

likely node version conflicts - used v22 please confirm

a3igner commented 3 weeks ago

likely node version conflicts - used v22 please confirm

I am using v23.1.0

a3igner commented 3 weeks ago

likely node version conflicts - used v22 please confirm

yep used brew unlink node brew link node@22

now it worked! thanks