react-native-dotenv icon indicating copy to clipboard operation
react-native-dotenv copied to clipboard

react-native 0.50.0 and storybook: unable to resolve module "path" from `.../react-native-dotenv.index.js`

Open macrozone opened this issue 7 years ago • 5 comments

on react-native 0.50.0 in conjunction with storybook i get the following error:

unable to resolve module "path" from .../react-native-dotenv.index.js

I don't really know why this happens... it used to work in react-native 0.49

macrozone avatar Nov 07 '17 14:11 macrozone

I'm having the same problem after an update from rn 0.44 to rn 0.50 . In my case, I'm not using storybook.

chriteixeira avatar Nov 08 '17 17:11 chriteixeira

I am now using https://github.com/luggit/react-native-config which works with react-native 0.50

macrozone avatar Nov 08 '17 17:11 macrozone

I tested and confirmed working on 0.50.3.

Check https://github.com/zetachang/react-native-dotenv/issues/30

jamesholcomb avatar Nov 22 '17 17:11 jamesholcomb

error: Error: Unable to resolve module path from node_modules/react-native-dotenv/index.js: path could not be found within the project

saroj-nf avatar Apr 14 '20 08:04 saroj-nf

error: Error: Unable to resolve module path from node_modules/react-native-dotenv/index.js: path could not be found within the project

I have same issue on "react-native": "0.61.5"

hnexokonkwo avatar Apr 25 '20 15:04 hnexokonkwo