Skip to content
This repository was archived by the owner on Apr 18, 2020. It is now read-only.
This repository was archived by the owner on Apr 18, 2020. It is now read-only.

undefined is not a function (Symbol.iterator) #60

@anzorb

Description

@anzorb

react-native@0.47.2
react-native-css@2.0.7
Android 7.1.1
Only happens when remote debugging is turned off.
Crapping out on line 95 of build/index

 for (var _iterator = stylesheet.rules[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {

This line was transpiled from src/index at line 65:

 65 for (const rule of stylesheet.rules) {

Looks like the guys at styled components faced the same issue and removed dependency on (for of) styled-components/css-to-react-native#31

screenshot_20170905-210413

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions