-
Notifications
You must be signed in to change notification settings - Fork 2
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
Webpack 5 error #58
Comments
I did a bisecting process to determine the last good commit that the Client would run a function and display the results properly was 02a03a6. I created a branch off of dev at the next breaking commit a5d5ab - https://github.com/seasketch/geoprocessing/tree/a5-fun. Then, I rolled back the dependency upgrades and then with a
|
Once webpack 5 comes, these other dependencies left behind can be upgraded - #27 |
storybook is stuck on webpack 4 for now, it probably won't change until its next breaking major release (v7) where it may support multiple transpilers. anyway storybook can probably be isolated ot use v4 while the rest of the stack uses webpack 5 if that's useful. |
Upgrading dependencies to webpack 5, as attempted in this PR, causes a runtime error in React with "Context not set" after giving the message to run the area function.
Reproduce:
start:client
and point at any published gp lambda = https://localhost:8080?service=https://qqpj5fzzoj.execute-api.us-west-1.amazonaws.com/prod/. Should be able to point at any published GP lambda with anarea
function withArea
client.Storybook still being on webpack 4 doesn't appear to be the issue but that is the case. Until we have a pressing need to upgrade to webpack 5 we may want to wait for this to resolve - storybookjs/storybook#9216
The text was updated successfully, but these errors were encountered: