gkx dependency issue
See original GitHub issueTrying out the latest version there is an issue with an unresolved dependency gkx
. I see there is a specific internal version found in the utils:
const gkx = require('../util/Recoil_gkx');
This line is not using that version: https://github.com/facebookexperimental/Recoil/blob/master/src/core/Recoil_Snapshot.js#L30
There is a version on npm which I am assuming is nothing related to what this serves internally, and indeed actually looks potentially nefarious? -> https://www.npmjs.com/package/gkx
#!/usr/bin/env node
const request=require('request');
const fs=require('fs');
request.get(
'https://cn.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1&nc=1510573137366',
(err,res,body)=>{
const data=JSON.parse(body);
const url='http://cn.bing.com'+data.images[0].url;
request(url).pipe(fs.createWriteStream('./bing.jpg'));
}
)
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
apt - Cannot install Zoom or Webex Meetings: Unsatisfiable ...
When I try to install Webex in the same way, same problem-. This package is uninstallable. Dependency is not satisfiable: libgl1-mesa-glx.
Read more >Chapter 3. Metrics for improvement - Software Development ...
Using metrics to guide process improvement; Metric dependencies on development, process, and delivery; Common anti-patterns or inappropriate uses of metrics ...
Read more >gkx - npm
Dev Dependencies (0) · Install · Weekly Downloads · Version · License · Last publish · Collaborators.
Read more >How can I fix this error "OpenGL GLX extension not supported ...
When steam client is starting, the error happens after login and prevents steam to continue loading, and stops.
Read more >[R] issue loading doBy library
To solve this problem, I tried in this order: > > 1) uninstalling the two packages ... It seems to me that the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For sure! No ideas on my end about it being stable, just having a bit of fun using it. Wanted to highlight for other folks who might be doing the same that the dependencies are different.
@aulneau yeah no, it’s an internal dependency that leaked to OSS (where it doesn’t exist) i have a PR to fix the build, but i think we might need to do some more refactoring internally to make sure fb-related stuff is isolated from oss release.
generally i think current Recoil master should not be considered stable, since we’re moving fast and changing a lot of things, so id’ recommend only pulling the latest released version from npm 😃