raidendotai / cofounder

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

'nodemon' is not recognized as an internal or external command #57

Closed davidldennison closed 3 weeks ago

davidldennison commented 3 weeks ago

Tried to run exactly from the instructions and this is the error I got for "nodemon"

Full Install Output:

 in cmd at 10:51:04
npx @openinterface/cofounder                                                                                                        
npm verbose cli C:\Program Files\nodejs\node.exe C:\Users\david\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js
npm info using npm@10.9.0
npm info using node@v23.1.0
npm verbose title npm exec @openinterface/cofounder
npm verbose argv "exec" "--" "@openinterface/cofounder"
npm verbose logfile logs-max:10 dir:C:\Users\david\AppData\Local\npm-cache\_logs\2024-11-04T15_51_46_425Z-
npm verbose logfile C:\Users\david\AppData\Local\npm-cache\_logs\2024-11-04T15_51_46_425Z-debug-0.log
(node:33988) ExperimentalWarning: CommonJS module C:\Users\david\AppData\Roaming\npm\node_modules\npm\node_modules\debug\src\node.js is loading ES Module C:\Users\david\AppData\Roaming\npm\node_modules\npm\node_modules\supports-color\index.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
npm http fetch GET 200 https://registry.npmjs.org/@openinterface%2fcofounder 369ms (cache miss)
Need to install the following packages:
@openinterface/cofounder@0.0.21
Ok to proceed? (y) y

npm http fetch GET 200 https://registry.npmjs.org/@openinterface%2fcofounder 745ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/fs-extra 80ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/inquirer 147ms (cache revalidated)
.
.
.

npm http fetch GET 200 https://registry.npmjs.org/@inquirer/type/-/type-1.5.5.tgz 714ms (cache miss)
npm http fetch GET 200 https://registry.npmjs.org/@inquirer/core/-/core-9.2.1.tgz 856ms (cache miss)

------------------------------------------------------------------------

        Cofounder By OpenInterface
        https://cofounder.openinterface.ai
        EARLY ALPHA RELEASE

------------------------------------------------------------------------

✔ > cofounder repo cloned

( you can also replace your API key(s) later in ./cofounder/api/.env )

? your OpenAI API key [required]
used for : embeddings (required) and inference (optional)

key >  ***************************************************
?
your Anthropic API key [optional, recommended]
used for : inference using claude (optional, recommended)

key >  ************************************************************************************************************
?
your Cofounder API key [ https://cofounder.openinterface.ai ] [optional, recommended]
used for : {layout designer , apis} index
unlimited during alpha release; will be downloadable locally in v1

> wrote ./cofounder/api/.env

npm verbose cli C:\Program Files\nodejs\node.exe C:\Users\david\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js
npm info using npm@10.9.0
npm info using node@v23.1.0
npm verbose title npm i
npm verbose argv "i"
npm verbose logfile logs-max:10 dir:C:\Users\david\AppData\Local\npm-cache\_logs\2024-11-04T15_53_31_306Z-
npm verbose logfile C:\Users\david\AppData\Local\npm-cache\_logs\2024-11-04T15_53_31_306Z-debug-0.log
(node:31520) ExperimentalWarning: CommonJS module 
.
.
.
.
C:\Users\david\AppData\Roaming\npm\node_modules\npm\node_modules\debug\src\node.js is loading ES Module 
npm info run protobufjs@7.4.0 postinstall { code: 0, signal: null }
npm info run esbuild@0.21.5 postinstall { code: 0, signal: null }

added 362 packages, and audited 363 packages in 32s

62 packages are looking for funding
  run `npm fund` for details

5 vulnerabilities (4 moderate, 1 critical)

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
npm verbose cwd C:\cofounder\api
npm verbose os Windows_NT 10.0.27729
npm verbose node v23.1.0
npm verbose npm  v10.9.0
npm verbose exit 0
npm info ok
npm verbose cli C:\Program Files\nodejs\node.exe C:\Users\david\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js
npm info using npm@10.9.0
npm info using node@v23.1.0
npm verbose title npm run start
npm verbose argv "run" "start"
npm verbose logfile logs-max:10 dir:C:\Users\david\AppData\Local\npm-cache\_logs\2024-11-04T15_54_03_457Z-
npm verbose logfile C:\Users\david\AppData\Local\npm-cache\_logs\2024-11-04T15_54_03_457Z-debug-0.log

> start
> nodemon --loader esm-module-alias/loader --no-warnings server.js

'nodemon' is not recognized as an internal or external command,
operable program or batch file.
npm verbose cwd C:\cofounder\api
npm verbose os Windows_NT 10.0.27729
npm verbose node v23.1.0
npm verbose npm  v10.9.0
npm verbose exit 1
npm verbose code 1
Error: Command failed: npm i && npm run start
    at genericNodeError (node:internal/errors:983:15)
    at wrappedFn (node:internal/errors:537:14)
    at checkExecSyncError (node:child_process:882:11)
    at execSync (node:child_process:954:15)
    at main (file:///C:/Users/david/AppData/Local/npm-cache/_npx/f748a024b9cdb317/node_modules/@openinterface/cofounder/bin.js:130:5) {
  status: 1,
  signal: null,
  output: [ null, null, null ],
  pid: 21516,
  stdout: null,
  stderr: null
}
npm verbose cwd C:\
npm verbose os Windows_NT 10.0.27729
npm verbose node v23.1.0
npm verbose npm  v10.9.0
npm verbose exit 1
npm verbose code 1
davidldennison commented 3 weeks ago

Also maybe not output the API keys to the terminal screen LOL. Didn't notice and all my keys just got cancelled automatically when I posted it - which is pretty cool how fast that was! Nice job GitHub!

raidendotai commented 3 weeks ago

haha yes i got the alert too nodemon to be added to dependencies if sticking to node (considering moving to bun) will push bulk update for most these issues within the week

xElkomy commented 3 weeks ago

just run

npm i nodemon