Giter Club home page Giter Club logo

motoko-qr's People

Contributors

crusso avatar enzoh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

motoko-qr's Issues

generic.mo missing

build fails with the following message

Building qr...
Build failed. Reason:
  Motoko returned an error:
/mnt/DATA/prog/dfinity/mo-qr/src/qr.mo:10.1-10.35: import error, File "/mnt/DATA/prog/dfinity/mo-qr/src/generic.mo" does not exist

You probably forgot to commit the file :-)

Error after dfx start with version 0.5.0

Looks like main had a problem with the client URL?

⠁ Starting up the client...
binding to: V6([::1]:8000)
client: "http://localhost:8080/api"
⠚ Pinging the Internet Computer client...
Feb 24 19:29:07.316 INFO Dfinity Replica Started
Feb 24 19:29:07.317 INFO Existing node ID: 4061159069099793215
Feb 24 19:29:07.331 INFO Using path 'qr/.dfx/state' to manage local state, StateManager: 1
⠂ Pinging the Internet Computer client...
thread 'main' panicked at 'Invalid client URL.: EmptyHost', src/libcore/result.rs:1165:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

Build fails on MacOS due to empty Candid file.

Seems like DFX is truncating the file. This behavior is not observed on Linux.

seoraksan:motoko-qr enzo$ dfx build
Building canisters...
Build failed. Reason:
  Postbuild step failed for canister ic:0100000000000000000000000000000000012D with error: Build failed. Reason:
  Command "/Users/enzo/.cache/dfinity/versions/0.5.9/didc" "--js" "/Users/enzo/Desktop/workspace/motoko-qr/build/demo/demo.did" "-o" "/Users/enzo/Desktop/workspace/motoko-qr/build/demo/demo.did.js"
 returned an error:
No actor found, cannot generate JS bindings

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.