https://dagster.io/ logo
Title
m

mrdavidlaing

10/28/2021, 2:56 PM
I'm setting up a local Dagster dev environment following the instructions at https://docs.dagster.io/community/contributing and running (hundreds?) of errors similar to the following when running
make dev_install
➤ YN0013: │ @babel/helper-create-class-features-plugin@npm:7.14.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0001: │ Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at new NodeError (node:internal/errors:371:5)
    at PassThrough.onclose (node:internal/streams/end-of-stream:122:30)
    at PassThrough.emit (node:events:390:28)
    at emitCloseNT (node:internal/streams/destroy:145:10)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
These seem to all come from the
yarn install
step
Any tips on where to debug? (perhaps an incorrect Node/NPM/Yarn version?)
Or a cache I should clear out
d

daniel

10/28/2021, 3:14 PM
What's your node/yarn version? I have a clean make dev_install on node 17.0.1 / yarn 1.22.17
(you can run
make rebuild_dagit
to just check this part that's failing btw)
errr sorry, I think node 16 is what you want (v16.13.0 for me)
👍 1
the cache to clear out between changing node versions is js_modules/dagit/node_modules
m

mrdavidlaing

11/01/2021, 10:16 AM
I'm getting these failures with the latest versions of Node & Yarn
$ node -v
v17.0.1
$ yarn -v
1.22.17
Switching to Node v16.13.0 (same version of yarn) seemed to fix things
$ node -v
v16.13.0
$ yarn -v
1.22.17
Although I did get a couple of warnings:
$ make rebuild_dagit
Checking for prod installs - if any are listed below reinstall with pip -e
You are using pip version 19.0.3, however version 21.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
cd js_modules/dagit/; yarn install && yarn build-for-python
➤ YN0000: ┌ Resolution step
➤ YN0060: │ @dagit/app@workspace:packages/app provides eslint-plugin-testing-library (p5ec65) with version 4.6.0, which doesn't satisfy what eslint-config-react-app requests
➤ YN0060: │ @dagit/app@workspace:packages/app provides react (pad31a) with version 17.0.2, which doesn't satisfy what @dagit/core and some of its descendants request
➤ YN0060: │ @dagit/app@workspace:packages/app provides react-dom (p06aa9) with version 17.0.2, which doesn't satisfy what @dagit/core and some of its descendants request
➤ YN0060: │ @dagit/core@workspace:packages/core provides remark (pfd7c0) with version 13.0.0, which doesn't satisfy what remark-plain-text requests
➤ YN0060: │ @dagit/core@workspace:packages/core [4b1e8] provides remark (pf5b81) with version 13.0.0, which doesn't satisfy what remark-plain-text requests
➤ YN0002: │ @storybook/addon-essentials@npm:6.3.8 [3f9f7] doesn't provide @storybook/components (p926e8), requested by @storybook/addon-measure
➤ YN0002: │ @storybook/addon-essentials@npm:6.3.8 [3f9f7] doesn't provide @storybook/core-events (pe1d8f), requested by @storybook/addon-measure
➤ YN0002: │ @storybook/addon-essentials@npm:6.3.8 [3f9f7] doesn't provide @storybook/theming (p8878f), requested by @storybook/addon-measure
➤ YN0002: │ @storybook/csf-tools@npm:6.3.8 doesn't provide @babel/core (pada49), requested by @babel/plugin-transform-react-jsx
➤ YN0002: │ @storybook/csf-tools@npm:6.3.8 doesn't provide @babel/core (p79ea9), requested by @babel/preset-env
➤ YN0060: │ apollo-language-server@npm:1.26.0 provides graphql (pc6c8f) with version 15.5.0, which doesn't satisfy what @apollographql/graphql-language-service-interface and some of its descendants request
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed in 0s 331ms