question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support: flow-typed install resolve error

See original GitHub issue

When running the flow-typed install -o it will run into an error from the resovle module: UNCAUGHT ERROR: Error: Cannot find module 'babel-runtime' from '/path/to/root-project-dir'

What might be the best way to debug this issue? Is it coming from the cli or my project?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:18 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
jeffmocommented, Oct 5, 2016

@cem2ran: Ok, I just published flow-typed@2.0.0-beta.11 with https://github.com/flowtype/flow-typed/commit/d295e7d150309b8e950ee623ef7fb05df18cc4e3, which should fix this. Please try it out and let me know if you have any more issues!

0reactions
jeffmocommented, Oct 5, 2016

Hmm, looks like react-native-linear-gradient uses a non-standard index.{ios,android}.js file 😕

Ok, I’ll see if we can change things up to be more resilient to this. Thanks for the report!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flow-typed install crashes if you have a package ... - GitHub
Here is the crash: UNCAUGHT ERROR: Error: Malformed npm package name! Expected the name to be formatted as _v . . but instead...
Read more >
node.js - Flow doesn't consider flow-typed's installed definitions
My project has the following structure: + src + index.js ` Server.js + node_modules + express + flow-typed + npm ` express_v4.x.x.js.
Read more >
flow-typed - npm
A repository of high quality flow type definitions. ... Start using flow-typed in your project by running `npm i flow-typed`.
Read more >
flow-typed | Yarn - Package Manager
A repository of high-quality, third-party library type definitions for use with Flow. ci status npm package docs discord package health ...
Read more >
Installation - JavaScript. Flow
Babel is a compiler for JavaScript code that has support for Flow. Babel will take your Flow code and strip out any type...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found