Flow: Cannot resolve module 'immutable'

Created on 25 May 2018  路  3Comments  路  Source: facebook/flow

From my understanding, flow refers to the definition in the node_modules/immutable folder for the immutable module, so setting module.system.node.resolve_dirname=node_modules should allow flow to resolve the module, however I'm still getting the error message. Is this a bug or am I missing out on something?

The following is my .flowconfig file.

[ignore]
.*/node_modules/.*

[include]
./src

[libs]
flow-typed

[options]
module.system.node.resolve_dirname=.
module.system.node.resolve_dirname=src
module.system.node.resolve_dirname=node_modules

Most helpful comment

@javascriptonian I think now I have a same issue. please tell me how do you resolve it.

All 3 comments

Actually, I ignored the error message and it resolved after a very long time..

@javascriptonian I think now I have a same issue. please tell me how do you resolve it.

I have this issue now, grrr. Tell me that is not the actual answer here because that is ridiculous.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cubika picture cubika  路  3Comments

philikon picture philikon  路  3Comments

mjj2000 picture mjj2000  路  3Comments

marcelbeumer picture marcelbeumer  路  3Comments

ctrlplusb picture ctrlplusb  路  3Comments