gitpod.yml command: `npm install` its running to early

Created on 23 Apr 2019  路  3Comments  路  Source: gitpod-io/gitpod

Describe the bug
When a new fresh clone starts I get the error webpack-dev-server: not found but if I try doing webpack-dev-server manually it does work.

My guess is that the command are running before the init finishes.

This is the repo: https://github.com/alesanchezr/vanillajs-hello

To Reproduce
Open this repo in github: https://github.com/alesanchezr/vanillajs-hello

Expected behavior
Having webpack dev-server to start and first build.

Most helpful comment

Hey @alesanchezr! Please have a look at https://github.com/alesanchezr/vanillajs-hello/pull/1 :-) Enjoy Gitpod!

All 3 comments

Hey @alesanchezr! Please have a look at https://github.com/alesanchezr/vanillajs-hello/pull/1 :-) Enjoy Gitpod!

Oh, thanks @AlexTugarev! It works 馃憦

I'm enjoying a lot, this webpack+vanillajs boilerplate is ready and will always be maintained. Here is the link:
https://github.com/4GeeksAcademy/vanillajs-hello

If anyone wants to use it, it comes with the following features:

  • Gitpod ready.
  • Run npm run deploy to deploy to github pages.
  • Prettier.
  • Latest version of standard ES6.

That's awesome! 猸愶笍

Was this page helpful?
0 / 5 - 0 ratings