-
Notifications
You must be signed in to change notification settings - Fork 967
Conversation
I think this is the failure:
Going to debug in a devstack. |
Looks like that error can happen when the version of node and the version of npm mismatch? We use nodeenv under the covers to install the correct version of node. I'm not sure how it determines which versions of npm to install by default so that might be the issue. |
Yeah, looks like 8.9.1 uses node 5.5.1, which has caused this issue for a number of other people. Per this thread, the go-to fix is pinning npm to 5.2.0. This is not a great solution as it gets our npm version out-of-sync with the stock npm version that comes with node, plus it adds additional complexity to our configuration. For now I'm going to see if the 8.9.2 candidate (nodejs/node#17204) fixes this. If yes, let's wait for it to drop; if not, I'd say let's use an earlier, stable version of 8.x. |
1edd2b9
to
48e7b97
Compare
Check it out, 8.9.2 dropped yesterday! If tests pass let's go with that, otherwise here are our options (in order of preference)
|
bump node version to 8.9.1 [FEDX-410] 8.9.2 8.8.1 8.7.0 8.6.0 Update back to latest node. The previous failures were probably due to ecommerce which should now be resolved.
Changelog here: https://nodejs.org/en/blog/release/v8.0.0/. No explicit upgrade guide, unfortunately, but here's what we can expect:
package-lock.json
file (I've created an epic to track this)Ops Ansible Checklist
Make sure that the following steps are done before merging: