Invalid `Podfile` file: 767: unexpected token at 'Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './package.json' is not defined by "exports" in /…/node_modules/date-and-time/package.json
jainmca21 opened this issue · 1 comments
jainmca21 commented
I have updated the RN version 0.69.1. Getting below error when execute command 'pod install'.
Error:
'Invalid Podfile
file: 767: unexpected token at 'Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './package.json' is not defined by "exports" in /…/node_modules/date-and-time/package.json'
knowledgecode commented
Fixed the package.json
, but I'm not sure about React Native so that please make sure whether the problem has been fixed or not.