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.

flow-typed 2.2.0 failing to start on Windows platform

See original GitHub issue

After upgrading to 2.2.0 I get the following error message when trying to run it on the Windows platform:

node_modules\.bin\flow-typed install
node_modules\flow-typed\dist\commands\runTests.js:70
var basePathRegex = new RegExp('definitions' + _node.path.sep + 'npm' + _node.path.sep + '(@[^' + _node.path.sep + ']*' + _node.path.sep + ')?[^' + _node.path.s
ep + ']*' + _node.path.sep + '?');
                    ^

SyntaxError: Invalid regular expression: /definitions\npm\(@[^\]*\)?[^\]*\?/: Unterminated character class
    at RegExp (<anonymous>)
    at Object.<anonymous> (node_modules\flow-typed\dist\commands\runTests.js:70:21)
    at Module._compile (module.js:624:30)
    at Object.Module._extensions..js (module.js:635:10)
    at Module.load (module.js:545:32)
    at tryModuleLoad (module.js:508:12)
    at Function.Module._load (module.js:500:3)
    at Module.require (module.js:568:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (node_modules\flow-typed\dist\cli.js:26:17)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:7
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
GAntoinecommented, Oct 14, 2017

It’s been fixed on master, but yeah we’re waiting on a release to npm. Sorry about the wait guys, should be coming soon.

0reactions
budarincommented, Oct 25, 2017

@GAntoine thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Boilerplate not starting in Windows 10 + Ubuntu #1611 - GitHub
Failed at the electron-react-boilerplate@0.13.3 start-main-dev script. ... x.x.js • redux-thunk@^2.2.0 └> flow-typed/npm/redux-thunk_vx.
Read more >
Could not start flows because of security policy - Dynamics CRM
When running a Flow that contains a desktop flow, it fails with the following error even though the target device has desktop flows...
Read more >
Explanation - Rocket Software Documentation
Audit and Tracking for Unix and Windows Servers ... Interactive Trigger Flow in Forms ... 0112 Failed to open the file for the...
Read more >
Changelog - Cypress Documentation
Fixed an issue where the Cypress migration wizard would fail to run in global mode on newer versions of Cypress. Addressed in #25138....
Read more >
Spring Boot 2.2.0
Spring Batch 4.2; Spring Data Moore; Spring Framework 5.2; Spring HATEOAS 1.0; Spring Integration 5.2; Spring Kafka 2.3; Spring Security 5.2 ...
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