You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to ask if there is any way to make this library run on react-native. I am succesfully able to build the app but I get this error when the code runs:
error: Error: While trying to resolve module promjs from file D:\Repos\field-rep-app\mobile\node_modules\@cabify\prom-react\dist\index.js, the package D:\Repos\field-rep-app\mobile\node_modules\promjs\package.json was successfully found. However, this package itself specifies a main module field that could not be resolved (D:\Repos\field-rep-app\mobile\node_modules\promjs\lib\index.js. Indeed, none of these files exist:
I am using "@cabify/prom-react": "^0.3.0" which utilizes promjs "^0.4.1" .
I wanted to ask if there is any way to make this library run on react-native. I am succesfully able to build the app but I get this error when the code runs:
error: Error: While trying to resolve module
promjs
from fileD:\Repos\field-rep-app\mobile\node_modules\@cabify\prom-react\dist\index.js
, the packageD:\Repos\field-rep-app\mobile\node_modules\promjs\package.json
was successfully found. However, this package itself specifies amain
module field that could not be resolved (D:\Repos\field-rep-app\mobile\node_modules\promjs\lib\index.js
. Indeed, none of these files exist:I am using
"@cabify/prom-react": "^0.3.0"
which utilizespromjs "^0.4.1"
.The text was updated successfully, but these errors were encountered: