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.

Commands for developing flow-typed defs leak to end users

See original GitHub issue

flow-typed run-tests and flow-typed validate-defs both seem to pertain only to working on this repository. However, they are both available when you install flow-typed as an end user.

They error with:

Running definition tests in /usr/local/lib/node_modules/definitions/npm...

UNCAUGHT ERROR: Error: ENOENT: no such file or directory, scandir '/usr/local/lib/node_modules/definitions/npm'
    at Error (native)

and

UNCAUGHT ERROR: Error: ENOENT: no such file or directory, open '/usr/local/lib/node_modules/definitions/.cli-metadata.json'
    at Error (native)

respectively.

These commands should not be available to end users.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
relekangcommented, Oct 21, 2016

@jeffmo Yeah, I’ll try to get one up today.

0reactions
jeffmocommented, Oct 20, 2016

Anyone wanna send a PR? I’m going to be on a limited-connection roughly until mid-next-week

Read more comments on GitHub >

github_iconTop Results From Across the Web

flow-typed/flow-typed: A central repository for Flow ... - GitHub
The flow-typed repo is a collection of high-quality library definitions, tests to ensure that definitions remain high quality, and tooling to make it...
Read more >
Creating Library Definitions | Flow
To do this you'll start by creating a . js file for each libdef you're going to write and put them in the...
Read more >
Comparing statically typed JavaScript implementations
In this post, we'll compare three of the most popular ways of imposing static typing on JavaScript: TypeScript, Flow, and PropTypes.
Read more >
OpenROAD Flow Scripts Tutorial
However, in this tutorial, the user will learn both the automated and a few ... the directory structure in flow by typing ls...
Read more >
Changelog - Cypress Documentation
You can use your favorite Cypress commands and features to develop your ... A memory leak was fixed during cypress run for end-to-end...
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