deck.gl icon indicating copy to clipboard operation
deck.gl copied to clipboard

`npm start` can fail when deps change in examples/layer-browser

Open ericsoco opened this issue 9 years ago • 1 comments

The script to install deps for layer-browser on npm start works fine when first running it, but when examples/layer-browser/package.json changes, the script will see that examples/layer-browser/node_modules already exists and will not update packages. This can cause npm start to fail when deps are added / bumped.

We might consider running yarn upgrade instead of npm i, if we're open to promoting yarn to a devDep of deck.gl. I hesitate to add an npm i to every npm start call, regardless of the existence of examples/layer-browser/node_modules, because it will slow down the example build significantly.

ericsoco avatar Jun 22 '17 04:06 ericsoco

This issue is hanging here for a long time, usually we manually do "yarn" or "npm install" when pulled new code or changed package.json.

jianhuang01 avatar Jan 25 '18 21:01 jianhuang01