Skip to content

Conversation

iMokhles
Copy link
Contributor

@iMokhles iMokhles commented Jul 4, 2024

i faced the following issue:

Cannot set properties of undefined (setting 'react') /Users/imokhles/.nvm/versions/node/v20.13.1/lib/node_modules/create-react-native-library/lib/index.js:558
rootPackageJson.devDependencies.react = examplePackageJson.dependencies.react;
^

TypeError: Cannot set properties of undefined (setting 'react')
at Object.create [as handler] (/Users/imokhles/.nvm/versions/node/v20.13.1/lib/node_modules/create-react-native-library/lib/index.js:558:43)

iMokhles added 2 commits July 5, 2024 02:03
i faced the following issue:

Cannot set properties of undefined (setting 'react')
/Users/imokhles/.nvm/versions/node/v20.13.1/lib/node_modules/create-react-native-library/lib/index.js:558
    rootPackageJson.dependencies['react'] = examplePackageJson.dependencies.react;
                                          ^

TypeError: Cannot set properties of undefined (setting 'react')
    at Object.create [as handler] (/Users/imokhles/.nvm/versions/node/v20.13.1/lib/node_modules/create-react-native-library/lib/index.js:558:43)
@iMokhles iMokhles changed the title fix: dependencies doesn't exist in rootPackageJson fix: devDependencies doesn't exist in rootPackageJson Jul 4, 2024
Copy link
Member

@satya164 satya164 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@satya164 satya164 merged commit 5a089f1 into callstack:main Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants