We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
React app, bundled with Webpack, deployed with Jenkins. Using p-limit through terser-webpack-plugin.
Jenkins build fails with console output:
/path/to/repo/node_modules/terser-webpack-plugin/node_modules/p-limit/index.js:30 } catch {} ^ SyntaxError: Unexpected token {
I think it's expecting a condition to follow the catch keyword on index.js:30
catch
Perhaps changing the following might work.
try { await result; } catch {}
to
try { await result; } catch (error) {}
Thanks! Please let me know if I can help further
The text was updated successfully, but these errors were encountered:
Duplicate of #33
Sorry, something went wrong.
No branches or pull requests
Environment
React app, bundled with Webpack, deployed with Jenkins. Using p-limit through terser-webpack-plugin.
Issue
Jenkins build fails with console output:
Suggestion
I think it's expecting a condition to follow the
catch
keyword on index.js:30Perhaps changing the following might work.
to
Thanks! Please let me know if I can help further
The text was updated successfully, but these errors were encountered: