Giter Club home page Giter Club logo

xpring-sdk-demo's People

Contributors

dependabot[bot] avatar keefertaylor avatar loisrp avatar mczochowski avatar nhartner avatar nkramer44 avatar stormtv avatar tedkalaw avatar

Stargazers

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

Watchers

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

xpring-sdk-demo's Issues

Difficulty running node demo in Windows 10

Running
node src/index.js
(after an "npm i" install) produces these errors:

Retrieving balance for XVnJMYQFqA8EAijpKh5EdjEY5JqyxykMKKSbrUX8uchF6U8..
(node:11216) UnhandledPromiseRejectionWarning: Error: 12 UNIMPLEMENTED:
at Object.exports.createStatusError (C:\Users\Lois\Documents\GitHub\xsdk\Xpring-SDK-Demo\node\node_modules\grpc\src\common.js:91:15)
at Object.onReceiveStatus (C:\Users\Lois\Documents\GitHub\xsdk\Xpring-SDK-Demo\node\node_modules\grpc\src\client_interceptors.js:1209:28)
at InterceptingListener._callNext (C:\Users\Lois\Documents\GitHub\xsdk\Xpring-SDK-Demo\node\node_modules\grpc\src\client_interceptors.js:568:42)
at InterceptingListener.onReceiveStatus (C:\Users\Lois\Documents\GitHub\xsdk\Xpring-SDK-Demo\node\node_modules\grpc\src\client_interceptors.js:618:8)
at callback (C:\Users\Lois\Documents\GitHub\xsdk\Xpring-SDK-Demo\node\node_modules\grpc\src\client_interceptors.js:847:24)
(node:11216) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:11216)

What to say about grpcUrl value?

This line in node/src/index.js provides this value, but I'm not clear where it originates. What should I say about using this value, or other values?

const grpcURL = "3.14.64.116:50051";

Note in Swift, we have: let grpcURL = "grpc.xpring.tech:80"

Failure to compile with `carthage bootstrap` command.

I successfully ran
brew install carthage swiftlint
but failed with
carthage bootstrap .

(I retried with sudo carthage bootstrap and got the same error.

REM-ZN4L2L-M:swift lpatterson$ carthage bootstrap
*** Checking out swift-protobuf at "1.6.0"
*** Checking out grpc-swift at "0.9.1"
*** Checking out XpringKit at "1.3.0"
*** Cloning grpc-swift
*** Cloning swift-protobuf
*** Cloning XpringKit
*** xcodebuild output can be found in /var/folders/js/x7840yd52h327dps03_jxhnc0000gp/T/carthage-xcodebuild.tQcko8.log
*** Building scheme "SwiftGRPC-Package" in SwiftGRPC-Carthage.xcodeproj
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project /Users/lpatterson/xpring-sdk-demo/Xpring-SDK-Demo/swift/Carthage/Checkouts/grpc-swift/SwiftGRPC-Carthage.xcodeproj -scheme SwiftGRPC-Package -configuration Release -derivedDataPath /Users/lpatterson/Library/Caches/org.carthage.CarthageKit/DerivedData/11.3.1_11C504/grpc-swift/0.9.1 ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/js/x7840yd52h327dps03_jxhnc0000gp/T/grpc-swift SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/lpatterson/xpring-sdk-demo/Xpring-SDK-Demo/swift/Carthage/Checkouts/grpc-swift)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/js/x7840yd52h327dps03_jxhnc0000gp/T/carthage-xcodebuild.tQcko8.log

xpring-js version

Xpring-SDK-Demo for Node needs version 1.4.0 of dependency xpring-js to run.

npm i or sudo npm i?

I followed the instructions in node/README.md in the node-deps branch.

# Install dependencies
npm i

However, I got errors unless I changed this to
sudo npm i
Once I did that, I was able to successfully run the demo at src/index.js. Just checking if this is an idiosyncrasy of my system, or something that should be changed in the doc.

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.