Giter Club home page Giter Club logo

Comments (6)

svanschooten avatar svanschooten commented on July 28, 2024

👍 verified in git-bash, win-bash and cygwin

from d3-random.

mbostock avatar mbostock commented on July 28, 2024

I do not have a Windows machine, so unfortunately I have no way of reproducing this issue. However, I suspect that the failure is caused by the zip command. This didn’t need to be run on prepublish, so I’ve moved it to postpublish, and hopefully that means npm install now succeeds.

If that’s not the case, please help me out by sending a pull request to fix the issue. I’m afraid I would just be guessing blindly trying to fix it myself!

from d3-random.

p-v-d-Veeken avatar p-v-d-Veeken commented on July 28, 2024

It still crashes in the exact same way as before your fix. I'll have a look at it and try to fix it. No promises though. :)

from d3-random.

mbostock avatar mbostock commented on July 28, 2024

from d3-random.

p-v-d-Veeken avatar p-v-d-Veeken commented on July 28, 2024

Yeah, I think the problem is somewhere in the pretest script actually. I'll let you know if I work it out.

from d3-random.

p-v-d-Veeken avatar p-v-d-Veeken commented on July 28, 2024

So I found the problem, which was that windows parsed the embedded quotes inside the pretest script incorrectly, so I changed the script to:

"pretest": "mkdir -p build && node ./scripts/pretest.js > build/version.js && rollup -f umd -n d3_random -o build/d3-random.js -- index.js"

Which sort of worked, however, my terminal window now hangs indefinitely on:

> [email protected] test C:\Users\Pepe\dropbox\workspace\d3-random
> faucet find test -name '*-test.js' && eslint index.js src

Not sure what that is about...

P.S shouldn't this issue be reopened?

from d3-random.

Related Issues (17)

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.