Git Product home page Git Product logo

Comments (4)

samir-ware avatar samir-ware commented on July 24, 2024 1

Running script in healthcare/fhir/immunizations_demo like

bazel run datagen:data_gen -- --num=1 --output_path=demo_data.ndjson

results in following error


samirs-MacBook-Pro:immunizations_demo unclesam$ bazel run datagen:data_gen -- --num=1 --output_path=demo_data.ndjson
Starting local Bazel server and connecting to it...
INFO: Invocation ID: 27c56358-1dea-42e5-ad9e-3a550bc360a4
INFO: Rule 'io_bazel_rules_python' modified arguments {"shallow_since": "1542396262 -0500"}
ERROR: /Users/unclesam/newDir10/healthcare/fhir/immunizations_demo/datagen/BUILD.bazel:3:1: no such package '@com_github_pborman_uuid//': The repository could not be resolved and referenced by '//fhir/immunizations_demo/datagen:data_gen'
ERROR: Analysis of target '//fhir/immunizations_demo/datagen:data_gen' failed; build aborted: no such package '@com_github_pborman_uuid//': The repository could not be resolved
INFO: Elapsed time: 29.288s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (10 packages loaded, 96 targets configured)
FAILED: Build did NOT complete successfully (10 packages loaded, 96 targets configured)
    currently loading: @io_bazel_rules_go//

from healthcare.

nikklassen avatar nikklassen commented on July 24, 2024

A workaround for this is to run the command in healthcare/fhir/immunizations_demo/datagen.

from healthcare.

samir-ware avatar samir-ware commented on July 24, 2024

@nikklassen Thank you for the reply although script is failing even in datagen folder. Please find below the stack trace

samirs-MacBook-Pro:datagen unclesam$ bazel run //datagen:data_gen -- --num=1 --output_path=demo_data.ndjson
Starting local Bazel server and connecting to it...
INFO: Invocation ID: 957d2f1c-36f2-4ecb-ac3b-f40fc0d0e4b4
ERROR: Skipping '//datagen:data_gen': no such package 'datagen': BUILD file not found on package path
WARNING: Target pattern parsing failed.
ERROR: no such package 'datagen': BUILD file not found on package path
INFO: Elapsed time: 8.396s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)

from healthcare.

nikklassen avatar nikklassen commented on July 24, 2024

Fixed with c826833. The original command will work now. If you'd like to run bazel from another directory bazel query ... can help by showing you all available targets under the current directory.

from healthcare.

Related Issues (20)

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.