-
Notifications
You must be signed in to change notification settings - Fork 289
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The PR #1089 introduced ProvidePlugin for 'URL' from 'url', but URL is not included in node url module.
This causes a browser error of Q is not a constructor if any client code includes new URL(...)
Expected behavior
No error with client code new URL(...)
Current behavior
Error in browser
Possible solution
Remove the fallback settings of 'URL'.
Steps to reproduce
Edit: this is not reproducible any more, since they downgraded this plugin to an older version to workaround the issue.
- Open https://docs.port.io/
- Click the search bar at top-right
- An error reported in browser console.
Screenshots
Context
Your Environment
- Version used: 4.3.5
- Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3):
- Operating System and version (desktop or mobile):
- Link to your project: https://github.com/port-labs/port-docs
Related issue: easyops-cn/docusaurus-search-local#500
hadar-co, jhuebert, GirlBossRush, mnonnenmacher and melindafekete
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
