I'm setting up a local Dagster dev environment fol...
# ask-community
m
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
Copy code
make dev_install
Copy code
āž¤ 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
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
I'm getting these failures with the latest versions of Node & Yarn
Copy code
$ node -v
v17.0.1
$ yarn -v
1.22.17
Switching to Node v16.13.0 (same version of yarn) seemed to fix things
Copy code
$ node -v
v16.13.0
$ yarn -v
1.22.17
Although I did get a couple of warnings:
Copy code
$ 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