Giter Site home page Giter Site logo

Comments (8)

zdj avatar zdj commented on June 30, 2024

just create a new npm project and then try to install the latest version of loadtest.

from loadtest.

zdj avatar zdj commented on June 30, 2024

a workaround is to install from the stdio 0.2.1 tar directly prior to installing loadtest: npm install https://github.com/sgmonda/stdio/archive/0.2.1.tar.gz --save

from loadtest.

alexfernandez avatar alexfernandez commented on June 30, 2024

I have just installed it successfully:

$ npm install loadtest
npm http GET https://registry.npmjs.org/loadtest
npm http 200 https://registry.npmjs.org/loadtest
npm http GET https://registry.npmjs.org/log
npm http GET https://registry.npmjs.org/prototypes
npm http GET https://registry.npmjs.org/testing
npm http GET https://registry.npmjs.org/stdio
npm http GET https://registry.npmjs.org/agentkeepalive
npm http 200 https://registry.npmjs.org/agentkeepalive
npm http 304 https://registry.npmjs.org/prototypes
npm http 304 https://registry.npmjs.org/log
npm http 200 https://registry.npmjs.org/stdio
npm http GET https://registry.npmjs.org/stdio/-/stdio-0.2.3.tgz
npm http 200 https://registry.npmjs.org/stdio/-/stdio-0.2.3.tgz
npm http 304 https://registry.npmjs.org/testing
[email protected] node_modules/loadtest
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

The dependency on stdio is expressed with caret notation: ^0.2.1, which means that any version later than 0.2.1 is fine (such as 0.2.3 above). Can you give me a few more details to pinpoint this issue?

from loadtest.

seriousManual avatar seriousManual commented on June 30, 2024

which npm version are you on? (npm -v)

up to a certain version the caret notation is not supported, please update npm than.

from loadtest.

zdj avatar zdj commented on June 30, 2024

Well I feel like a dope, I assumed I was on the latest node/npm but my brew update script had been failing for some time due to an Xcode issue. After I updated node/npm, the issue went away. Thanks for pointing out something I really should have researched a bit more.

from loadtest.

alexfernandez avatar alexfernandez commented on June 30, 2024

I am updating the dependency for stdio to 0.2.3 in commit c8cd9bd, in order to work around older npm clients, so that others are not tripped by the same issue. Thanks for the report!

from loadtest.

seriousManual avatar seriousManual commented on June 30, 2024

it will still break on older npm as you specified the version using a caret, use the tilde instead if you want to be backwards compatible
in my personal opinion updating npm is the right way to solve this issue.

from loadtest.

alexfernandez avatar alexfernandez commented on June 30, 2024

Ah, OK. Just intended as a workaround, but if it does not work then no harm done. Thanks!

from loadtest.

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.