Skip to content

[Bug]: Module build failed (from ./node_modules/babel-loader/lib/index.js) #15964

@varunlad

Description

@varunlad

💻

  • Would you like to work on a fix?

How are you using Babel?

babel-loader (webpack)

Input code

if (typeof process === "object" && process.version === "v20.6.0") {
if (exports["___internal__alreadyRunning" + ""]) return;
^
Object.defineProperty(exports, "___internal__alreadyRunning", {
value: true,
enumerable: false,

(node_modules@babel\types\lib\index.js: 'return' outside of function.)

Configuration file name

No response

Configuration

No response

Current and expected behavior

I have compile my Project with npm start it is giving me ERROR in ./node_modules/@babel/types/lib/index.js

Environment

Bable Version -^7.21.11,
Node Version - 16.15.1,
Windows PC

Possible solution

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: third partyoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions