Comments (6)
👍 verified in git-bash, win-bash and cygwin
from d3-random.
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.
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.
from d3-random.
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.
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)
- Pareto distribution HOT 5
- New pretest script fails on Windows HOT 18
- Register with bower. HOT 3
- adding functions for Perlin noise HOT 4
- Generalized Irwin Hall HOT 1
- Random latitude ? HOT 2
- randomInt([min = 0, ]max)
- Weibull Distribution HOT 1
- Box–Muller transformation can return two values per iteration.
- LCG? HOT 1
- randomInt(): reason for flooring interval end-points? HOT 1
- Would there be any interest in xorshift32, xorshift64 and xorwow32? HOT 4
- Insecure Randomness for the useof Math.random() in lcg API and defaultSource.js (security vulnerability) HOT 1
- Poisson Distribution HOT 1
- Support for custom random generators (cryptographically-secure, seeded, etc) HOT 4
- Should this module be exhaustive for statistical distributions? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from d3-random.