question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error while updating property 'marginRight' in shadow node of type: RCTView

See original GitHub issue

I am not very good at English, please understand. Below is my issue:

Environment

Only appear on android platfrom.

Below is my global environment, and I modify version of react and react-native by my package.json

React Native Environment Info: System: OS: macOS High Sierra 10.13.3 CPU: x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz Memory: 26.08 MB / 8.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 8.4.0 - ~/.nvm/versions/node/v8.4.0/bin/node npm: 4.6.1 - ~/.nvm/versions/node/v8.4.0/bin/npm Watchman: 4.7.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 11.4, X 10.11, macOS 10.12, macOS 10.13, tvOS 11.4, watchOS 4.3 Android SDK: Build Tools: 23.0.1, 23.0.2, 23.0.3, 24.0.0, 24.0.1, 24.0.2, 24.0.3, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 27.0.3, 28.0.0, 28.0.0, 28.0.1 API Levels: 16, 23, 24, 25, 26, 27, 28 IDEs: Android Studio: 3.1 AI-173.4907809 Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild npmPackages: react: 16.0.0-alpha.6 react-native: 0.43.4 npmGlobalPackages: react-native-cli: 2.0.1 react-native-git-upgrade: 0.2.7

I so sorry, I can’t run ‘react-native info’ success. So, I display a package.json and .babelrc information:

part of package.json:

"dependencies": { "ajv": "^6.5.2", "mobx-utils": "^3.0.0", "fbemitter": "2.1.1", "mobx": "3.1.0", "mobx-react": "4.1.8", "raven-js": "3.11.0", "react": "16.0.0-alpha.6", "react-native": "0.43.4", "react-native-measureme": "0.0.1", "react-native-keyboard-aware-scroll-view": "^0.2.8" }, "devDependencies": { "react-native": "0.43.4" "babel-eslint": "8.2.6", "babel-jest": "23.4.0", "babel-plugin-transform-decorators-legacy": "1.3.5", "babel-preset-react-native": "2.1.0", "babel-preset-react-native-stage-0": "1.0.1", "eslint": "3.19.0", "eslint-plugin-react": "6.10.3", "eslint-plugin-react-native": "2.3.2", "jest": "23.4.1", "react-test-renderer": "16.0.0-alpha.6" }

.babelrc:

{ "presets": ["react-native"], "plugins": ["transform-decorators-legacy"], "sourceMaps": true }

Description

Background Introduction: I have two activity react native container(such as A, B).

Scene Introduction: When I stay at A, then open B. then I open other a page(component) of B, at last, I close A container by native bridge(operation flow: B -> native bridge -> A -> A close self)

screenshot:

error

Reproducible Demo

I so sorry, I can’t provide a example project because my project is private. And my error unable to reproduce stably.please please understand. Thanks

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
starsioncommented, Jan 4, 2019

我们也会遇到这种类型的错 Error while updating property ‘xxx’ in shadow node of type: RCTText(RCTView…)

1reaction
qianshui423commented, Dec 12, 2018

大佬,解决了吗?我调试的时候也会经常报这个错,重新run-android就好了,完全找不到问题在哪。

没解决

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error while updating property 'X' in shadow node of type
The error explains that it expects a variable as integer, and not as a string value. ... In this case the value marginRight...
Read more >
Error while updating property 'height' in shadow node of type ...
Error while updating property 'height' in shadow node of type: RCTView when I test on real device, but nothing wrong on emulator #21002....
Read more >
Error while updating property 'width' in shadow node of type
Coding example for the question Error while updating property 'width' in shadow node of type: RNSVGsvgView-React Native.
Read more >
A brand new website interface for an even better experience!
Error while updating property padding in shadow node of type: RCTView.
Read more >
Can you add these blocks in thunkable?
AlignItems Error while updating property'AlignItems' in shadow node of type:RCTview at :x: JustifyContent Error while updating ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found