devenv up does not work

(#250) Bug Awaiting confirmation meta

Summary

Attempting to run devenv up results in a loop of error messages, including:
fluxer_server  ] 
[fluxer_server  ] > fluxer_server@0.0.0 dev /tmp/fluxer/fluxer_server
[fluxer_server  ] > tsx watch --clear-screen=false src/startServer.tsx
[fluxer_server  ] 
[fluxer_server  ] sh: line 1: tsx: command not found
[fluxer_server  ] /tmp/fluxer/fluxer_server:
[fluxer_server  ]  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  fluxer_server@0.0.0 dev: `tsx watch --clear-screen=false src/startServer.tsx`
[fluxer_server  ] spawn ENOENT
[fluxer_server  ]  WARN   Local package.json exists, but node_modules missing, did you mean to install?
[fluxer_app     ] 

[fluxer_app     ] /tmp/fluxer/scripts/dev_fluxer_app.sh: line 25: ./node_modules/.bin/tsx: No such file or directory
[marketing_dev  ] 

[css_watch      ] 

[marketing_dev  ] 
[marketing_dev  ] > fluxer_marketing@ dev /tmp/fluxer/fluxer_marketing
[marketing_dev  ] > tsx watch --clear-screen=false src/index.tsx
[marketing_dev  ] 
[css_watch      ] /tmp/fluxer/scripts/dev_css_watch.sh: line 39: ./node_modules/.bin/tailwindcss: No such file or directory
[css_watch      ] /tmp/fluxer/scripts/dev_css_watch.sh: line 45: ./node_modules/.bin/tailwindcss: No such file or directory
[marketing_dev  ] sh: line 1: tsx: command not found
[marketing_dev  ] /tmp/fluxer/fluxer_marketing:
[marketing_dev  ]  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  fluxer_marketing@ dev: `tsx watch --clear-screen=false src/index.tsx`
[marketing_dev  ] spawn ENOENT
[marketing_dev  ]  WARN   Local package.json exists, but node_modules missing, did you mean to install?
[fluxer_server  ] 

Steps to reproduce

run devenv up

Environment (optional)

  • 17306abec61dfde7b9c7b8da13c2fe21ff4fbce8
  • Nixos

Logs or screenshots (optional)

fluxer_server  ] 
[fluxer_server  ] > fluxer_server@0.0.0 dev /tmp/fluxer/fluxer_server
[fluxer_server  ] > tsx watch --clear-screen=false src/startServer.tsx
[fluxer_server  ] 
[fluxer_server  ] sh: line 1: tsx: command not found
[fluxer_server  ] /tmp/fluxer/fluxer_server:
[fluxer_server  ]  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  fluxer_server@0.0.0 dev: `tsx watch --clear-screen=false src/startServer.tsx`
[fluxer_server  ] spawn ENOENT
[fluxer_server  ]  WARN   Local package.json exists, but node_modules missing, did you mean to install?
[fluxer_app     ] 

[fluxer_app     ] /tmp/fluxer/scripts/dev_fluxer_app.sh: line 25: ./node_modules/.bin/tsx: No such file or directory
[marketing_dev  ] 

[css_watch      ] 

[marketing_dev  ] 
[marketing_dev  ] > fluxer_marketing@ dev /tmp/fluxer/fluxer_marketing
[marketing_dev  ] > tsx watch --clear-screen=false src/index.tsx
[marketing_dev  ] 
[css_watch      ] /tmp/fluxer/scripts/dev_css_watch.sh: line 39: ./node_modules/.bin/tailwindcss: No such file or directory
[css_watch      ] /tmp/fluxer/scripts/dev_css_watch.sh: line 45: ./node_modules/.bin/tailwindcss: No such file or directory
[marketing_dev  ] sh: line 1: tsx: command not found
[marketing_dev  ] /tmp/fluxer/fluxer_marketing:
[marketing_dev  ]  ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  fluxer_marketing@ dev: `tsx watch --clear-screen=false src/index.tsx`
[marketing_dev  ] spawn ENOENT
[marketing_dev  ]  WARN   Local package.json exists, but node_modules missing, did you mean to install?
[fluxer_server  ] 

4 comments

Sign in with Fluxer to comment and vote.
Comment by Rex
RexSystem 1 vote
Status changed from Fixed to Awaiting confirmation
This was closed in a bulk cleanup before Fluxer V2 without being checked or fixed. It may work now, so it is waiting for someone to confirm whether the bug still happens.
Comment by @Xeravax
RexSystem 1 vote originally by @Xeravax on GitHub
You need to probably pnpm install first to get all dependencies.
Comment by @mhdask
RexSystem 1 vote originally by @mhdask on GitHub OP
You need to probably pnpm install first to get all dependencies.
Might be, but should devenv not do that on its own?
Comment by @reversefold
RexSystem 1 vote originally by @reversefold on GitHub
Yeah, there appear to be some missing steps somewhere. I was able to get things to come up, I think by running devenv shell then pnpm install to fix the majority of the node_modules errors and then pnpm --filter @fluxer/config generate to fix an issue about a generated schema file. I'm still unable to get the webapp working, though, I'm getting CORS errors and SSL errors when accessing the local server.