-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(node): upgrade dev setup to Node v12 #4088
Conversation
4691271
to
89bb49b
Compare
89bb49b
to
7fb02ae
Compare
Codecov Report
@@ Coverage Diff @@
## edge #4088 +/- ##
=======================================
Coverage 57.24% 57.24%
=======================================
Files 850 850
Lines 24002 24002
=======================================
Hits 13741 13741
Misses 10261 10261 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make install
and make lint test
all succeed on my machine, not sure if there's more testing to do
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⬆️
- App builds
- LL/LC builds
- PD builds
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested PD, LL/LC, and App builds, all good. Tested PD and LL sandbox links, they work with no weird console errors or anything
|
||
```shell | ||
nvm install lts/carbon | ||
nvm install 12 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this just be nvm install
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That will work if the user is in the opentrons
directory, but the instruction to clone the repository doesn't come until later in this doc. We definitely need to expand and rework this section for better OS-specific instructions, so that's a good thing to keep in mind
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🍡 Install, test, and lint pass on my laptop (OSX)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐰
overview
app-shell
, and that Node version is driven byelectron
This PR upgrades our dev environment to v12
Blocked by #4083 because it upgrades a bunch of our tools with changes to support Node v10 and v124083 merged and this PR has been rebasedchangelog
review requests
If using nvm, checkout this branch and:
Otherwise, get Node v12 on your machine somehow, ensure
node --version
returns 12, runmake install-js
, and make sure everything still builds and runs.If you encounter any weird
yarn
failures, you can try:node_modules
folders and retryingnode-gyp
cache, which should be in the default OS-specific cache location~/Library/Caches/node-gyp