Skip to content
This repository was archived by the owner on Dec 26, 2019. It is now read-only.
This repository was archived by the owner on Dec 26, 2019. It is now read-only.

Cannot get screentshot in inspector. JS Error. #1123

@zequnjiang

Description

@zequnjiang

As the title described, i cannot extract screenshot in inspector.
image

However, the Home Button works !

Here is my environment information:
macOS 10.14.5 + XCode 10.2.1 (10E1001)
iPhone 7 Plus + iOS 12.3.1
node v8.1.3 + npm 5.0.3

Console log:


inspector.js:1197 Warning: Accessing PropTypes via the main React package is deprecated, and will be removed in React v16.0. Use the latest available v15.* prop-types package from npm instead. For info on usage, compatibility, migration and more, see https://fb.me/prop-types-docs
inspector.js:1197 Warning: Accessing createClass via the main React package is deprecated, and will be removed in React v16.0. Use a plain JavaScript class instead. If you're not yet ready to migrate, create-react-class v15.* is available on npm as a temporary, drop-in replacement. For more info see https://fb.me/react-create-class
inspector.js:968 Warning: render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.
inspector.js:1197 Warning: Accessing factories like React.DOM.a has been deprecated and will be removed in v16.0+. Use the react-dom-factories package instead. Version 1.0 provides a drop-in replacement. For more info, see https://fb.me/react-dom-factories
inspector.js:968 Warning: Unknown props isReactButton, applyDefaultTheme, buttonStates, align, defaultStyle, defaultDisabledStyle, defaultLabelStyle, ellipsisLabelStyle, ellipsis, themes, theme, active, over, focused on tag. Remove these props from the element. For details, see https://fb.me/react-unknown-prop
in a (created by ReactButton)
in ReactButton (created by Screen)
in div (created by Screen)
in div (created by Screen)
in Screen (created by App)
in div (created by App)
in App
inspector.js:968 Warning: NaN is an invalid value for the width css style property. Check the render method of Screen.
inspector.js:25570 Uncaught TypeError: Cannot read property 'x' of undefined
at Function.buildRect (inspector.js:25570)
at new TreeNode (inspector.js:25587)
at Function.buildNode (inspector.js:25543)
at inspector.js:163
at Ajax. (inspector.js:22526)
at Ajax.EventEmitter.emit (inspector.js:22792)
at XMLHttpRequest. (inspector.js:22641)
data:image/png;base6…redacted> + 4%0A):1 GET data:image/png;base64,+[XCAXClient_iOS sharedClient]: unrecognized selector… libdyld.dylib 0x000000021ee8a8e0 + 4%0A) net::ERR_INVALID_URL


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions