Skip to content

Cannot resolve module 'babel-runtime/*' #1421

Closed
@scholtzm

Description

@scholtzm

This is probably more of a question than a bug report.

Recently, out of nowhere, I started having issues with missing babel-runtime:

So I checked the last commit (which was a while ago) and it passed all commit checks:
image

Now, if I do clean setup, clone the repo and try to build it, it fails. The only thing that might have changed during this time are dependencies (semantic updates).

Adding babel-runtime to my dependencies fixes this issue but I'm not sure if this is the right way to go about it?

Activity

changed the title [-]Issues with missing babel-runtime[/-] [+]Cannot resolve module 'babel-runtime/*'[/+] on Jan 20, 2017
gaearon

gaearon commented on Feb 9, 2017

@gaearon
Contributor

This is weird. Is it still reproducible? Can you provide exact instructions to reproduce it?

scholtzm

scholtzm commented on Feb 9, 2017

@scholtzm
ContributorAuthor

I'll test this out again in the next day or two.

scholtzm

scholtzm commented on Feb 9, 2017

@scholtzm
ContributorAuthor

@gaearon I just removed babel-runtime and it builds now without it. Not sure what exactly was the issue but I guess we can close this now.

🤔

gaearon

gaearon commented on Feb 9, 2017

@gaearon
Contributor

Sometimes it's healthier not to know.

andreineculau

andreineculau commented on Feb 9, 2017

@andreineculau
gaearon

gaearon commented on Feb 9, 2017

@gaearon
Contributor

Maybe some module (semantic-ui-react judging by first post's CI log) that depends on it forgets to declare a dependency. In this case whether the dependency exists or not depends on other project dependencies and is non-deterministic. Have you raised an issue with the library causing this, like semantic-ui-react?

levithomason

levithomason commented on Feb 11, 2017

@levithomason

This is fixed in semantic-ui-react@0.64.8.

gaearon

gaearon commented on Feb 11, 2017

@gaearon
Contributor

Awesome, thanks for reporting back.

locked and limited conversation to collaborators on Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @andreineculau@gaearon@scholtzm@levithomason

        Issue actions

          Cannot resolve module 'babel-runtime/*' · Issue #1421 · facebook/create-react-app