Install development server error

Feature(s) impacted

Bootstrap project structure

Observed behavior

When I run the npx command provided to bootstrap the project structure, it fails with a “Maximum call stack size exceeded” message.

Expected behavior

Expected to install development server.

Failure Logs

Context

  • Project name: Cerebro 2
  • Team name: Praxis Labs
  • Environment name: Command line
  • Agent technology: nodejs
  • Agent (forest package) name & version: Not sure how to find this
  • Database type: MongoDB
  • Recent changes made on your end if any: None, have not yet installed dev enviroment.

Another question, when I have set up a development environment, will it be able to access and change the MongoDB database it is connected to? I do not want to risk breaking my production data.

Hello,
Thank you for your feedback. I can reproduce the issue on my end. I’m escalating it as an urgent bug and will work on a fix as soon as possible.
I will ping you when the bug is fixed.
Best Regards :folded_hands:

2 Likes

Another question, when I have set up a development environment, will it be able to access and change the MongoDB database it is connected to? I do not want to risk breaking my production data.

You can update your credential to your local environment in the datasource.js file. Please follow this tutoriel. In local, your production data are not exposed for security reasons :slight_smile:

1 Like

Hello, there is an issue with npx. Could you replace npx by bunx tu run the bootstrap command please.

Example: bunx @forestadmin/forest-cloud@latest bootstrap --env-secret ....

We are still on the issue but it’s a quick workaround :slight_smile:

1 Like

Thanks! I also had to use “bun run dev:watch” instead of “npm run dev:watch”

Hello,
Could you bump your forestadmin dependencies to the latest version, it should be fixed :slight_smile:

2 Likes

Thanks @Alban_Bertolini! It is fixed!

3 Likes