Giter Club home page Giter Club logo

Comments (7)

jmdobry avatar jmdobry commented on July 16, 2024

I just tried it, I got:

36 tests passed [14:59:55]
  1 test skipped
  1 uncaught exception

bucket.notification is not available because the samples are pinned to a particular version of @google-cloud/storage. I then did the following to get it to work:

cd ..
npm link
cd samples
npm link @google-cloud/storage
npm test

and I got

40 tests passed [15:01:24]
  1 test skipped

from nodejs-storage.

callmehiphop avatar callmehiphop commented on July 16, 2024

FWIW I get the same errors as Stephen, is it possible we are missing a setup step?

from nodejs-storage.

jmdobry avatar jmdobry commented on July 16, 2024

This is what I did:

  1. git clone [email protected]:googleapis/nodejs-storage.git
  2. cd nodejs-storage
  3. npm install
  4. cd samples
  5. npm install
  6. npm link ../
  7. GCLOUD_PROJECT=my-project-id GOOGLE_APPLICATION_CREDENTIALS=/path/to/keyfile.json npm test

from nodejs-storage.

stephenplusplus avatar stephenplusplus commented on July 16, 2024

Same process errors for me.

from nodejs-storage.

jmdobry avatar jmdobry commented on July 16, 2024

I used Node v6.11.1 and MacOS, what about y'all?

from nodejs-storage.

callmehiphop avatar callmehiphop commented on July 16, 2024

I've been messing with this a little bit and it seems like the File#download test fails intermittently. However when it does pass, everything passes for me.

from nodejs-storage.

jmdobry avatar jmdobry commented on July 16, 2024

So possibly a flaky test issue.

from nodejs-storage.

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.