ember-cli icon indicating copy to clipboard operation
ember-cli copied to clipboard

Why are is npm / yarn install not run before running ember serve?

Open buckmaxwell opened this issue 3 years ago • 1 comments

Having the added step of having to install node modules before the server is usable is a bit annoying. Is there an easy way to combine these steps? I am using a docker compose to run my dev environment.

buckmaxwell avatar Jan 20 '21 17:01 buckmaxwell

Hi @buckmaxwell

I have the same question. I'd expect that to be in the Dockerfile.

I'm running into 2 issues:

  • https://github.com/danlynn/ember-cli/issues/33
  • https://github.com/danlynn/ember-cli/issues/32

however I am trying to do this with an older version of Ember (2.6.2) and node (10.16.2).

I'm not sure but looking at https://github.com/danlynn/ember-cli/tree/2.6.2#how-to-use suggests that some commands like npm install etc might be done in docker-compose but as my question on https://github.com/danlynn/ember-cli/issues/32 I'm not sure what the exact docker-compose should be like.

mahalowolf avatar May 22 '23 10:05 mahalowolf