Coder Social home page Coder Social logo

ts-project-multi-workspace's Introduction

Error:

ERROR: /home/b/.cache/bazel/_bazel_b/daeaa4b97c7a4137193494eff37c80cb/external/a/BUILD:25:11: Action external/a/_validate_app_options.optionsvalid.d.ts failed: (Exit 1): ts_project_options_validator.sh failed: error executing command bazel-out/k8-opt-exec-2B5CBBC6/bin/external/npm/@bazel/typescript/bin/ts_project_options_validator.sh external/a/tsconfig.json bazel-out/k8-opt/bin/external/a/_validate_app_options.optionsvalid.d.ts ... (remaining 3 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox
ERROR: ts_project rule //:app is missing a needed rootDir under bazel-out/k8-opt/bin.
Found only:  [
  'external/a',
  'external/a/bazel-out/host/bin',
  'external/a/bazel-out/darwin-fastbuild/bin',
  'external/a/bazel-out/darwin-opt/bin',
  'external/a/bazel-out/darwin-dbg/bin',
  'external/a/bazel-out/darwin_arm64-fastbuild/bin',
  'external/a/bazel-out/darwin_arm64-opt/bin',
  'external/a/bazel-out/darwin_arm64-dbg/bin',
  'external/a/bazel-out/k8-fastbuild/bin',
  'external/a/bazel-out/k8-opt/bin',
  'external/a/bazel-out/k8-dbg/bin'
]
This makes it likely that TypeScript will be unable to resolve dependencies using relative import paths
For example, if you 'import {} from ./foo', this expects to resolve foo.d.ts from Bazel's output tree
and TypeScript only knows how to locate this when the rootDirs attribute includes that path.
See the ts_project documentation: https://bazelbuild.github.io/rules_nodejs/TypeScript.html#ts_project
Or to suppress this error, run:
    npx @bazel/buildozer 'set validate False' //:app
Target @a//:app failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.880s, Critical Path: 0.49s
INFO: 45 processes: 19 internal, 26 linux-sandbox.
FAILED: Build did NOT complete successfully

ts-project-multi-workspace's People

Contributors

bduffany avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.