node-interop icon indicating copy to clipboard operation
node-interop copied to clipboard

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

Open lexaknyazev opened this issue 6 years ago • 1 comments

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

lexaknyazev avatar May 21 '18 13:05 lexaknyazev

Any updates on this?

devkabiir avatar Feb 09 '19 07:02 devkabiir