Skip to content

There was an error trying to load the config "styledComponents" for the macro imported from "styled-components/macro. Please see the error thrown for more information. #7524

Closed
@Hurtak

Description

@Hurtak

Describe the bug

When using styled-components/macro inside create-react-app latest 3.1.0 it shows following warnings during start and build commands. Did not happen in 3.0.1. Nothing else changed.

There was an error trying to load the config "styledComponents" for the macro imported from "styled-components/macro. Please see the error thrown for more information.
Probably related #2630

Not sure if this is the right place to report it, some related bugs:
styled-components/styled-components#2630
styled-components/styled-components#2713

Did you try recovering your dependencies?

yes

Environment

Environment Info:

  System:
    OS: macOS 10.14.5
    CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
  Binaries:
    Node: 10.16.0 - /usr/local/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.9.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 76.0.3809.100
    Firefox: 66.0.5
    Safari: 12.1.1
  npmPackages:
    react: 16.9.0 => 16.9.0 
    react-dom: 16.9.0 => 16.9.0 
    react-scripts: 3.0.1 => 3.0.1 
  npmGlobalPackages:
    create-react-app: 3.0.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions