Comments (11)
@knowbody Jest not working on node 0.12.x is a known issue (see jestjs/jest#243). For me the tests started working after installing node 0.10 and running npm rebuild
.
From #10 it seems that as soon as Jest 0.5.0 stable version gets released, this project can move to iojs and the old version of node is no longer needed.
from relay.
oh, make sense now, thanks @fson!
from relay.
we could mention that in the README I guess.
from relay.
@knowbody I think that's a good idea. There's a warning from npm install
if you're running an unsupported version, but it's pretty easy to miss.
from relay.
so which version should I use? v0.10.0?
I'm using n for managing node versions but with 0.10.0 I get errors when I try to do npm install
from relay.
@knowbody I installed v0.10.40, which is the latest 0.10.x release and it worked with that.
from relay.
with 0.10.40 fails. I get:
npm ERR! 404 Not Found
npm ERR! not ok code 0
from relay.
@knowbody Try double checking your npm --version
. I know whenever I re-install 0.10.x, the npm
I get is archaic (v1.x.x).
from relay.
@yungsters I don't know actually what happened but tried to npm install
yesterday again and it worked with node 0.10.40 and npm 1.4.28.
I just think we should add clear instructions as it's important to run those tests locally and I'm guessing most of ppl use 0.12.7.
any ETA on when Jest 0.5.0 stable will be released?
from relay.
Thanks for bringing up this issue - I've documented the configuration required to run tests at https://github.com/facebook/relay/wiki/Frequently-Asked-Questions#error-running-npm-test - please feel to reopen this if there are any additional questions.
from relay.
I published jest 0.5 today and sent a pull request to upgrade relay to iojs and jest, see #74
from relay.
Related Issues (20)
- Can I set value of `fetchTime` manually?
- "@graphql-codegen/gql-tag-operations-preset" causing relay-compiler not finding config file
- Missing type definition in assignable fragment generated file in Typescript HOT 6
- Schema extensions are ignored on MacOS, but not on Linux HOT 6
- Relay compiler - No operation text / No operation provided
- loadNext set params to null that not include pagination-fragment HOT 3
- Type-safe updaters: non-assignability of unions HOT 1
- Flow type PreloadedQuery is missing from 16.1.0 release HOT 2
- Integration with google/oss-fuzz for continuous fuzzing HOT 6
- Cargo doc fails to generate documentation HOT 5
- Non meaningful error and application break when declaring a `GraphQLTaggedNode` from `react-relay` HOT 2
- Relay Compiler outputted file links - bad format for VSCode HOT 8
- graphql-syntax: Parser crash `graphql_syntax::parse_document_with_features` HOT 2
- Publish Relay vscode extension v2.1.0 HOT 9
- graphql-syntax: Parser crash parse_document_with_features (internal error: entered unreachable code)
- [lsp] Find field references not always working HOT 2
- graphql-syntax: Parser crash parse_document_with_features (assertion failed: start <= end)
- How to create environment factory HOT 4
- optimisticUpdater has invalid signature
- optional field in array is generated as not undefined but nullable
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 relay.