Comments (10)
Hey – I didn't have a chance to look at this yet. Did you resolve the problem?
from relay-todomvc.
Kind of.
My "solution" was to just admit defeat and use the package-lock.json
file you committed, and just to be vigilant about committing it in the future. I'd prefer if the builds were possible with a fresh install without a lock file.
I prefer not to commit package-lock.json
but this isn't necessarily right, although I do believe it's suggested that you do commit it. I've just had problems in the past working across teams with people adding packages and not committing the lock file, and then things start going wrong.
If there is a solution to this problem, I'd appreciate it. If not, I can live with using the lock file.
TIA
from relay-todomvc.
I did find that this was the last commit to work without using the lock file: 6b062cd
from relay-todomvc.
Well, there's clearly some sort of bug here that I'll track down, and I'll leave this issue open until I do.
Note that you are supposed to commit the lockfile, though: https://docs.npmjs.com/files/package-lock.json.
from relay-todomvc.
thanks
from relay-todomvc.
Thank you very much @taion. I'm going to take a look at this in the morning. I very much appreciate your time.
edit: Confirmed. Fixed. TYVM.
from relay-todomvc.
After checking out your new changes above, which work great, I get the same errors if I upgrade to relay 1.6. I read the changes and looked at the commits, but I still can't figure out why.
https://github.com/facebook/relay/releases/tag/v1.6.0
...
- "react-relay": "~1.5.0",
- "relay-compiler": "~1.5.0",
- "relay-runtime": "~1.5.0",
+ "react-relay": "~1.6.0",
+ "relay-compiler": "~1.6.0",
+ "relay-runtime": "~1.6.0",
...
Any idea?
BTW thank you for your time!
from relay-todomvc.
The Relay 1.6 issues are due to facebook/relay#2429 (comment). I'd recommend staying on 1.5 for the time being.
from relay-todomvc.
Specifically, they're due to the upstream Relay bug described in that linked issue. It's not a bug in this code.
from relay-todomvc.
thank you
from relay-todomvc.
Related Issues (16)
- Dig into Relay's param handling when new params are empty HOT 1
- Dead links in README.md
- [INFO] schema.graphql HOT 1
- where to point browser HOT 5
- SSR causes duplicate graphql requests HOT 7
- src/routes.js: Variable "$status" is never used in operation "routes_TodoApp_Query" HOT 1
- Confusion on the Fetcher class HOT 2
- createInitialFarceRouter with hot reloading HOT 1
- where is server.js and landing page .html HOT 1
- Warning: You cannot PUSH the same path using hash history HOT 3
- There is no server.js HOT 1
- better code-spiltting
- Action Required: Fix Renovate Configuration
- Unable to add path to found-modern branch
- Dependency Dashboard
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-todomvc.