Skip to content

Uncaught Instance of 'minified:b0' when using proxy #2337

@odogy

Description

@odogy

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

minified_b0_issue.zip

  1. Download and unzip attached folder
  2. run 'pub get' in client subfolder
  3. run 'webdev serve' in client subfolder
  4. run 'npm install' in server subfolder
  5. run 'npm run start' in server subfolder
  6. 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

No one assigned

    Labels

    type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions