Skip to content

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

Closed

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

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

    @gaearon
    Contributor

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

  3. scholtzm commented on Feb 9, 2017

    @scholtzm
    ContributorAuthor

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

  4. 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.

    🤔

  5. gaearon commented on Feb 9, 2017

    @gaearon
    Contributor

    Sometimes it's healthier not to know.

  6. andreineculau commented on Feb 9, 2017

    @andreineculau
  7. 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?

  8. levithomason commented on Feb 11, 2017

    @levithomason

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

  9. gaearon commented on Feb 11, 2017

    @gaearon
    Contributor

    Awesome, thanks for reporting back.

  10. 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

      Issue actions