Skip to content

Stuck on Creating an optimized production build... #653

@gegham-khachatryan

Description

@gegham-khachatryan

When running the project using react-app-rewired start, everything functions correctly. However, during the build process, it becomes stuck at the 'Creating an optimized production build...' message. This issue persists even when creating a new Create React App (CRA) project.

/* config-overrides.js */

const MonacoWebpackPlugin = require("monaco-editor-webpack-plugin");

module.exports = function override(config, env) {
  config.plugins.push(new MonacoWebpackPlugin());
  return config;
};

Version of "react-app-rewired": "^2.2.1"
Version of "react-scripts": "^5.0.1"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions