Skip to content

A module that will try to require the global fibrous and tell you to install it if it isn't there

License

Notifications You must be signed in to change notification settings

ccheever/use-global-fibrous

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

use-global-fibrous

A module that will try to require the global fibrous and tell you to install it if it isn't there

The reason for doing this is that you can't require different Fiber modules in the same node process at the same time.

If a user does this wrong, which is easy to do by accident because of the way that npm works ( laverdet/node-fibers#102 ), they will see a cryptic error message: Error: TypeError: Cannot redefine property: future

This module provides a saner error message and clear instructions on how to address the problem.

About

A module that will try to require the global fibrous and tell you to install it if it isn't there

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published