This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Thanks a lot for this change. On the other hand, we need find out the root cause of this regression.
Could you help check the installed version of react-select on your local environment? It should be on the file of \src\views\node_modules\react-select\package.json file.
I think this might relate to the version change of react-select. If this is the case, we need fix down the react-select version for time being in the src\views\package.json ==> "react-select": "1.0.0-rc.10",
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.
In the
\src\views\node_modules\react-select\package.json
, I see the following.In the
\src\views\node_modules\react-select\src\index.js
, I see this:Which aligns to the 1.0.0-rc.10 version on GitHub. https://github.com/JedWatson/react-select/blob/v1.0.0-rc.10/src/index.js#L12
in contrast to the older version upon which the extension has a dependency 1.0.0-rc.4 https://github.com/JedWatson/react-select/tree/v1.0.0-rc.4/src/ which doesn't have an explicit export of Select.
I will modify the \src\views\package.json in my PR to reflect the explicit dependency on the correct version of react-select?
Also, is there a way to add gui tests so that this issue could be found by the test suite?
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.
The root cause of this issue it that: though we have a
package-lock.json
file, we use the Node 6 (npm 3) in Travis CI, which does not respect thepackage-lock.json
file.To avoid similar issue happen again, we still need to keep the
package-lock.json
file, and update https://github.com/Microsoft/vscode-arduino/blob/master/.travis.yml#L4 to usenode
(latest stable Node.js release) instead of6