-
Notifications
You must be signed in to change notification settings - Fork 220
Closed
Labels
type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
Running proxy middleware in this Express app to serve JS files from the Dart web dev server is giving an "client.js:367 Uncaught Instance of 'minified:b0'" error.
This may be the same issue or related to #2333 . However, build_web_compilers 2.1.2 does not seem to fix this, though it does fix #2333 for me (so I could just be screwing something up with configuration here). This worked before in a much older version of build_web_compilers (0.4.4+3) with build_runner 1.1.2 - I don't have any info for in-between versions.
- Dart SDK 2.4.0
- build_runner: 1.6.1, build_web_compilers: 2.1.2
- Windows 10
- Chrome
- Download and unzip attached folder
- run 'pub get' in client subfolder
- run 'webdev serve' in client subfolder
- run 'npm install' in server subfolder
- run 'npm run start' in server subfolder
- open http://localhost:3000/ in Chrome and check the console
If I'm just pursuing a silly strategy with the proxy middleware, and there's a better option, please let me know. Just figuring this stuff out.
Metadata
Metadata
Assignees
Labels
type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)