Babel - Error: Cannot find module 'babel-runtime/helpers/typeof'

jerome

Transpiling via gulp-babel for the server and browserify with babelify for the client - using async and await in my code. These features seem to transform just fine, but... Error: Cannot find module 'babel-runtime/helpers/typeof'

Contents of .babelrc

{
  "presets": ["react", "es2015"],
  "plugins": [
    "transform-class-properties",
    "transform-async-to-generator",
    "transform-runtime"
  ]
}

Relevant contents of package.json

"babel-core": "6.3.13",
"babel-eslint": "4.1.6",
"babel-plugin-transform-async-to-generator": "6.3.13",
"babel-plugin-transform-class-properties": "6.3.13",
"babel-plugin-transform-runtime": "6.3.13",
"babel-preset-es2015": "6.3.13",
"babel-preset-react": "6.3.13",
"babelify": "7.2.0",
"browserify": "12.0.1",
"gulp-babel": "6.1.0",

I have found a few other mentions of this, many of which seem to lead here - https://github.com/babel/babel/issues/2954

But I am getting a 404 at the link above and indeed cannot see any issues related to babel - https://github.com/babel/babel/issues redirects to https://github.com/babel/babel/pulls

Any ideas?

jerome

Turns out I needed to take the install of babel-runtime, which I thought had been deprecated with the release of Babel v6.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Parsing error : Cannot find module 'next/babel'

From Dev

Gulp and Babel: Error: Cannot find module

From

Cannot find module '@babel/core'

From Dev

Cannot find module '@babel/parser'

From Dev

React native babel config " Cannot find module 'babel-plugin-module-resolver' " error

From Dev

RollupJS `resolve failed: Error: Cannot find module 'babel-runtime'`

From Dev

meteor Error: Cannot find module '@babel/runtime/helpers/builtin/interopRequireDefault'

From Dev

[Error]_Cannot find module 'babel-preset-es2015'

From Dev

Error: Cannot find module '@vue/babel-preset-app'

From Dev

Babel Error: Cannot find module 'babel-runtime/core-js/json/stringify'

From Dev

Cannot find module 'babel-core' but @babel/core is installed

From Dev

Cannot find module 'babel-core' and "@babel-core" is installed

From Dev

gulp cannot find module '@babel/core'

From Dev

Cannot find module, docker - babel config in node

From Javascript

Error: Cannot resolve module 'babel-loader'

From Dev

webpacker Uncaught Error: Module build failed / Cannot find module 'babel-plugin-syntax-dynamic-import'

From Dev

Error: Cannot find module 'babel-preset-react' - If you want to resolve "react", use "module:react"

From Dev

Error: Failed to load parser 'babel-eslint' declared in '.eslintrc': Cannot find module 'babel-eslint' in create-react-app

From Dev

Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@babel/plugin-preset-react' imported from

From Dev

bundling failed: Error: Cannot find module 'babel-preset-react-native' from '/workspace/reactnative''

From Dev

./components/Avatar.tsx Error: Cannot find module '@babel/preset-stage-0'

From Dev

ERROR in ./src/app.js Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Cannot find module '@babel/preset-present-env'

From Dev

Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Cannot find module 'babel-preset-react'

From Dev

Cannot find module that's been specified in babel.config.json

From Dev

Cannot find module 'babel-plugin-transform-decorators-legacy'

From Dev

Cannot find module '@babel/plugin-proposal-decorators' from '/app'

From Dev

Export es6 class in Babel - Cannot find module

From Dev

Cannot find module '@babel/preset-plugin-transform-object-assign'

From Dev

Cannot find module 'babel-loader' Require stack:

Related Related

  1. 1

    Parsing error : Cannot find module 'next/babel'

  2. 2

    Gulp and Babel: Error: Cannot find module

  3. 3

    Cannot find module '@babel/core'

  4. 4

    Cannot find module '@babel/parser'

  5. 5

    React native babel config " Cannot find module 'babel-plugin-module-resolver' " error

  6. 6

    RollupJS `resolve failed: Error: Cannot find module 'babel-runtime'`

  7. 7

    meteor Error: Cannot find module '@babel/runtime/helpers/builtin/interopRequireDefault'

  8. 8

    [Error]_Cannot find module 'babel-preset-es2015'

  9. 9

    Error: Cannot find module '@vue/babel-preset-app'

  10. 10

    Babel Error: Cannot find module 'babel-runtime/core-js/json/stringify'

  11. 11

    Cannot find module 'babel-core' but @babel/core is installed

  12. 12

    Cannot find module 'babel-core' and "@babel-core" is installed

  13. 13

    gulp cannot find module '@babel/core'

  14. 14

    Cannot find module, docker - babel config in node

  15. 15

    Error: Cannot resolve module 'babel-loader'

  16. 16

    webpacker Uncaught Error: Module build failed / Cannot find module 'babel-plugin-syntax-dynamic-import'

  17. 17

    Error: Cannot find module 'babel-preset-react' - If you want to resolve "react", use "module:react"

  18. 18

    Error: Failed to load parser 'babel-eslint' declared in '.eslintrc': Cannot find module 'babel-eslint' in create-react-app

  19. 19

    Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@babel/plugin-preset-react' imported from

  20. 20

    bundling failed: Error: Cannot find module 'babel-preset-react-native' from '/workspace/reactnative''

  21. 21

    ./components/Avatar.tsx Error: Cannot find module '@babel/preset-stage-0'

  22. 22

    ERROR in ./src/app.js Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Cannot find module '@babel/preset-present-env'

  23. 23

    Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Cannot find module 'babel-preset-react'

  24. 24

    Cannot find module that's been specified in babel.config.json

  25. 25

    Cannot find module 'babel-plugin-transform-decorators-legacy'

  26. 26

    Cannot find module '@babel/plugin-proposal-decorators' from '/app'

  27. 27

    Export es6 class in Babel - Cannot find module

  28. 28

    Cannot find module '@babel/preset-plugin-transform-object-assign'

  29. 29

    Cannot find module 'babel-loader' Require stack:

HotTag

Archive