Skip to content
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

Passing --no-source-maps dart2js flag breaks the build #24

Open
lexaknyazev opened this issue May 21, 2018 · 1 comment
Open

Passing --no-source-maps dart2js flag breaks the build #24

lexaknyazev opened this issue May 21, 2018 · 1 comment

Comments

@lexaknyazev
Copy link
Contributor

targets:
  $default:
    sources:
      - "node/**"
      - "lib/**"
    builders:
      build_node_compilers|entrypoint:
        generate_for:
          - node/**.dart
        options:
          compiler: dart2js
          dart2js_args:
          - --no-source-maps
$ pub run build_runner build --release --output node:build

... after dart2js output ...
[SEVERE] build_node_compilers|entrypoint on node/node_wrapper.dart:

FileSystemException: Cannot open file, path = '<...>/node/foo.dart.js.map' (OS Error: No such file or directory, errno = 2)
[INFO] Running build completed, took 6.7s
[INFO] Caching finalized dependency graph completed, took 144ms
[SEVERE] Failed after 6.9s
@devkabiir
Copy link

Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants