All Questions

Tagged with
Filter by
Sorted by
Tagged with
104votes
28answers
218kviews

npm install Error: rollbackFailedOptional

When I try npm install new packages it shows me this error: rollbackFailedOptional: verb npm-session 585aaecfe5f9a82 node --version 8.4.0 npm --version 5.3.0
user avatar
  • 1,041
70votes
10answers
32kviews

React Native: npm link local dependency, unable to resolve module

I am developing a button ui package for react native. I try to build an example project to test this button. The directory structure is as follows: my-button/ package.json index.js ...
user avatar
  • 818
55votes
17answers
44kviews

React-Native: Error: Failed to install CocoaPods dependencies for iOS project, which is required by this template

While executing npx react-native init MyProject I ran into the following error: ✖ Installing CocoaPods dependencies (this may take a few minutes) error Error: Failed to install CocoaPods dependencies ...
user avatar
  • 15k
51votes
6answers
167kviews

Found 4 vulnerabilities on npm install

I am just getting started with react-native. On installing this package npm install --save react-native-validator-form https://github.com/NewOldMax/react-native-validator-form/issues/3 I was prompted ...
user avatar
  • 2,453
50votes
23answers
63kviews

React native run-android do not updating modified code

I am using React native 0.52.0 and react-native-cli 2.0.1 on my Windows PC for android development. Despite all the changes i have made. When I run react-native run-android, it builds successfully but ...
user avatar
45votes
4answers
13kviews

Cannot find module 'asap/raw'

i have started a new react-native project and after that i installed react-native-maps i can't run react-native run-android because the terminal displays the following error: module.js:550 throw ...
user avatar
45votes
6answers
115kviews

How do I create a React Native project using Yarn?

I am running the following commands in the DOS console on a Windows 7 (64-bit) machine. npm install -g yarn yarn add global react-native yarn add global react-native-cli react-native init sample ...
user avatar
44votes
12answers
18kviews

react native downloading javascript bundle 100% stuck

when I am trying to execute npm start it works fine, but when i try to run my application by expo the process goes till 100% and after that nothing happens. I am not getting what is exact issue over ...
user avatar
  • 452
40votes
5answers
16kviews

React Native: No propType for native prop RCTView.maxHeight

After upgrading to RN 0.30 I started seeing the error shown below even when building the simplest possible app: react-native init AwesomeProject react-native run-ios The strangest is that ...
user avatar
  • 7,246
38votes
1answer
19kviews

Using npm modules in React Native projects

Is it possible to use npm modules with React Native projects directly, like one uses them within a React project by npm install <module-name>? Of course I mean modules that can be used with a ...
user avatar
  • 2,750
37votes
6answers
53kviews

react-native, bundling failed

I am new to react-native and have found an error that makes absolutely no sense to me. I am trying to include a calendar library: https://github.com/wix/react-native-calendars I have included the ...
user avatar
32votes
9answers
27kviews

Cannot read properties of undefined (reading 'transformFile') at Bundler.transformFile

I have updated node today and I'm getting this error: error: TypeError: Cannot read properties of undefined (reading 'transformFile') at Bundler.transformFile (/Users/.../node_modules/metro/src/...
user avatar
28votes
3answers
21kviews

Error: jest-haste-map: Haste module naming collision:

I have created a custom npm module (will use xxx instead of its name) and link it manually using npm install. I tried very hard and searched : [Workarounds] Packager unable to resolve module from /...
user avatar
  • 1,428
27votes
2answers
45kviews

How to fix npm audit fix issues?

┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Low │ Prototype Pollution │ ├───────────────┼──────────────────────...
user avatar
  • 10.1k
26votes
5answers
5kviews

Main module field cannot be resolved after installing @apollo/client

I'm running into an error after installing Apollo when trying to run my React Native Expo app. I've tried deleting node-modules and re-installing, resetting cache, restarting computer, and still no ...
user avatar
  • 291

15 30 50 per page
1
2 3 4 5
93