bcgov/issuer-kit

Unable to start development mode

vanshviggg opened this issue · 8 comments

I am unable to start development mode. When I try to run with npm install and without mange build I get an error and issuer-admin doesn't start.
error2

And when I run the manage build command get this error.
error

Kindly help.
Thanks.

esune commented

Have you tried using ./manage start-dev for development mode?

issuer-kit/docker/manage

Lines 138 to 139 in edee621

start-dev - Runs a live development version of the containers, with hot-reloading
enabled.

Yes, I used the start-dev command. I received this error when I did npm install and without the manage build command. When I started the manage build command the build crashed with permission errors.
error-dev

esune commented

I would have to take a look again as it's been some time, however it should work with start-dev if you:

  • run npm install for all the three apps (api, issuer-admin and issuer-web) on your host machine, to populate node_modules
  • run ./manage start-dev

What does your Docker setup look like? Are you using WSL2?

I'm using GitBash. I have run the npm install in the three directories. Still getting this error

esune commented

I'm using GitBash. I have run the npm install in the three directories. Still getting this error

Can you provide details on your Docker setup please? Are you using WSL2 engine or Hyper-V?

I'm using GitBash. I have run the npm install in the three directories. Still getting this error

Can you provide details on your Docker setup please? Are you using WSL2 engine or Hyper-V?

I'm using WSL2 engine.

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Unable to reproduce on Win11 using WSL2 as Docker back-end following the appropriate steps:

  • Start an instance of von-network
  • Run npm install for all components: api, issuer-admin, issuer-web
  • Run ./manage build from the docker folder
  • Run ./manage start-dev from the docker folder - it will take some time on first start for the web frontends to be ready

Please feel free to reopen if the problem persists and more information can be provided for troubleshooting.