React-native: Object.getOwnPropertyDescriptor(arguments[i])

Created on 22 Jan 2019  路  26Comments  路  Source: facebook/react-native

Environment

React Native Environment Info:
System:
OS: macOS 10.14.2
CPU: (4) x64 Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
Memory: 52.85 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 11.7.0 - /usr/local/bin/node
Yarn: 1.13.0 - /usr/local/bin/yarn
npm: 6.5.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
Android SDK:
API Levels: 22, 23, 24, 25, 26, 27, 28
Build Tools: 27.0.3, 28.0.2, 28.0.3
System Images: android-22 | Intel x86 Atom, android-22 | Google APIs Intel x86 Atom, android-23 | Intel x86 Atom, android-23 | Google APIs Intel x86 Atom, android-24 | Intel x86 Atom, android-24 | Google APIs Intel x86 Atom, android-24 | Google Play Intel x86 Atom, android-25 | Intel x86 Atom, android-25 | Google APIs Intel x86 Atom, android-25 | Google Play Intel x86 Atom, android-26 | Intel x86 Atom, android-26 | Google APIs Intel x86 Atom, android-26 | Google Play Intel x86 Atom, android-27 | Intel x86 Atom, android-27 | Google APIs Intel x86 Atom, android-28 | Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom
IDEs:
Android Studio: 3.2 AI-181.5540.7.32.5014246
Xcode: /undefined - /usr/bin/xcodebuild
npmPackages:
react: 16.7.0 => 16.7.0
react-native: 0.57.8 => 0.57.8
npmGlobalPackages:
react-native-cli: 2.0.1

Description

previously there was no problem when I made new native react and run it
but now when I make new native react and run it, an error occurs
as follows

object getownpropertydescriptor arguments i

even though I didn't add any script at all,
after I created "react-native init nameAplication" I immediately ran the application I created earlier, "react-native run-android",
before it went smoothly

I run the application on my device directly

please instructions

Regression Locked 馃摝Bundler

Most helpful comment

Hello everyone, I had the same problem, and I was able to solve it shortly.

1潞 npm install -g npm@latest
2潞 npm install -g react-native-git-upgrade
3潞 react-native-git-upgrade
4潞 I created a new project

All 26 comments

Thank god you recreated the issue, the same thing is happening to me

but if I enable "debug JS Remotely", the application runs smoothly

b5bc00a7-9ca1-4ac6-b40e-e52d8ba72a1c

Indeed, just confirmed this info in my app

Maybe if you disable delta it'll work

EDIT: Nop, it doesn't

I don't turn off delta, but it's still the same error

are there any other instructions?

please give me a clue, how is the solution to this problem

Im having the same problem

  1. Ctrl + M in emulator
  2. Click "Debug JS Remote"

Goodluck!

that way it works, but it results in weak automatic load if run on my device

Anyone knows how to solve without the "Debug JS Remote" option?

22842

Using the Debug JS Remotely option didn't work for me, nor did adding a polyfill for object.getOwnPropertyDescriptors

Im having the same problem

I had the same problem when I try to create a new react-native project. But this error did not happen in my previous projects.

same on Windows 10 + NodeJs 11.7
Debug JS Remotely doesn' work too

If you are working with real device, maybe adb reverse works https://facebook.github.io/react-native/docs/running-on-device

If you are working with real device, maybe adb reverse works https://facebook.github.io/react-native/docs/running-on-device

I'm working with a real device (totally new project) but still get this problem.

Im having the same problem

Im having the same problem on debug and release

If you are working with real device, maybe adb reverse works https://facebook.github.io/react-native/docs/running-on-device

still not working on actual device

I've this problem after running yarn install.

babel/babel#9341

same on Windows 10 + NodeJs 11.7
Debug JS Remotely doesn' work too

After uninstalling Android Studio 3.3 and installing 3.1 it's working again on my machine :)

(tooling details https://github.com/react-native-community/react-native-releases/blob/master/CHANGELOG.md#057)

Hello everyone, I had the same problem, and I was able to solve it shortly.

1潞 npm install -g npm@latest
2潞 npm install -g react-native-git-upgrade
3潞 react-native-git-upgrade
4潞 I created a new project

Was this page helpful?
0 / 5 - 0 ratings