All Questions
Tagged with yarnpkg react-native
236
questions
0
votes
1
answer
12
views
Cannot create property 'lastUpdateCheck' on string 'lastUpdateCheck 1713521810483 nodeLinker node-modules ces nodeLinker node-modules'
Got this error after installing the node_modules.
TypeError: Cannot create property 'lastUpdateCheck' on string 'lastUpdateCheck 1713521810483 nodeLinker node-modules ces nodeLinker node-modules'
...
-1
votes
0
answers
18
views
Npm vs Yarn on Expo [closed]
On Expo, I heard that PlugnPlay is not supported by Yarn. So there is no reason to use Yarn Berry and hench I don't see any benefits of using Yarn V1 over using npm. Also, I have faced multiple ...
0
votes
0
answers
18
views
Too many package installation in Expo React Native
This is my current package.json and I am installing packages using yarn. Although I only have these dependencies, it installs over 1000 packages and frequently fails to install and gives
➤ YN0001: │ ...
-2
votes
0
answers
31
views
how to call 'preinstall', 'postinstall', 'prepare, in yarn version - 3.6.4
how to call 'preinstall', 'postinstall', 'prepare, in yarn version - 3.6.4
I need to call above yarn lifecycle methods in ym react native app after giving yarn install
0
votes
0
answers
39
views
react native 0.74.2 yarn install error "YN0007: │ com.shiva.test@workspace:. must be built because it never has been before or the last one failed"
react native 0.74.2 yarn install giving following error
"YN0007: │ com.shiva.test@workspace:. must be built because it never has been before or the last one failed"
also yarn lifecycle ...
1
vote
0
answers
40
views
React Native 0.74.2 yarn lifecycle method is not called after running 'yarn install'
How to call lifecycle events of 'yarn install' on react native 0.74.2 and yarn version is 3.6.4
I've added yarn lifecycle methods in my package.json under the scripts section. However, when I run the ...
1
vote
0
answers
32
views
Yarn start not working, on mac, I tried uninstalling & installing process completely but still giving error
Yarn start not working,
I tried uninstalling & installing process completely but still giving error
wingspro@Mac-Pro resident-connect-mobile % yarn start
node:internal/modules/cjs/loader:1080
...
0
votes
1
answer
1k
views
Yarn installs latest version of dependency instead of downloading the one defined in my package.json
When I run the command yarn install, I get this error:
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=18". Got "16.20.2&...
0
votes
0
answers
39
views
Trouble running serverless React app on Windows 11
Environment: Windows 11, WSL2, VSCode
App: https://mui.com/store/items/berry-react-material-admin-free/
The app runs fine when using npm/yarn start, however, I'm attempting to run it serverless on my ...
0
votes
0
answers
323
views
XCode 15.01 and iOS 17 Build Failure - React native applicaton
When I download iOS 17 simulator, install it, and try to build, my macbook pro i5 will restart in the middle of the build. After re-opening xcode, this strange bug appears.
XCode asks me to download ...
2
votes
0
answers
289
views
React-Native project won't run on the right node -v for EAS IOS build
I have a project I'm trying to create an IOS build for using EAS ("eas build --platform ios"). With everything I've tried I keep getting this error on the expo.dev site claiming that I'm ...
1
vote
0
answers
2k
views
Can't create a new react-native project using npx react-native@latest init
I am relatively new to react-native. and also recently decided to dual boot ubuntu alongside windows 10 on my laptop. whenever I create a project in windows using the command npx react-native init , ...
0
votes
1
answer
87
views
Expo CLI - Error: Cannot find module '/home/expo/workingdir/build/.yarn/releases/yarn-1.22.19.cjs'
I currently have an ejected Expo 46.0.9 react-native app. The app lives under a shared nx monorepo (although it isn't connected as one through its project.json)
I've been using the following command ...
0
votes
0
answers
193
views
React Native reusable components with Yarn workspace
I want to make monorepo with multiple react native apps and shared packages. I had to add nohoist for every RN app and to configure Metro to watch shared code like:
watchFolders: [
path.resolve(...
0
votes
1
answer
293
views
Build expo React Native
`Running "yarn install" in /home/expo/workingdir/build directory
yarn install v1.22.19
[1/4] Resolving packages...
[stderr]
warning Lockfile has incorrect entry for "@expo/webpack-...