Coder Social home page Coder Social logo

localize-react-monaco-editor's Issues

Launch the project

After git-cloning the project on my machine (node: 14.21.3), I did yarn to install the packages. Then yarn build returned me the following error:

$ yarn build
yarn run v1.22.18
warning package.json: No license field
$ webpack --config webpack.config.js --mode development
[webpack-cli] Failed to load '/Users/20230619/localize-react-monaco-editor/webpack.config.js' config
[webpack-cli] Error: Cannot find module 'metadata.js'
Require stack:
- /Users/20230619/localize-react-monaco-editor/node_modules/monaco-editor-webpack-plugin/out/index.js
- /Users/20230619/localize-react-monaco-editor/node_modules/monaco-editor-esm-webpack-plugin/src/core.js
- /Users/20230619/localize-react-monaco-editor/node_modules/monaco-editor-esm-webpack-plugin/index.js
- /Users/20230619/localize-react-monaco-editor/webpack.config.js
- /Users/20230619/localize-react-monaco-editor/node_modules/webpack-cli/lib/webpack-cli.js
- /Users/20230619/localize-react-monaco-editor/node_modules/webpack-cli/lib/bootstrap.js
- /Users/20230619/localize-react-monaco-editor/node_modules/webpack-cli/bin/cli.js
- /Users/20230619/localize-react-monaco-editor/node_modules/webpack/bin/webpack.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:931:15)
    at Function.resolve (internal/modules/cjs/helpers.js:113:19)
    at resolveMonacoPath (/Users/20230619/localize-react-monaco-editor/node_modules/monaco-editor-webpack-plugin/out/index.js:30:20)
    at getEditorMetadata (/Users/20230619/localize-react-monaco-editor/node_modules/monaco-editor-webpack-plugin/out/index.js:41:26)
    at new MonacoEditorWebpackPlugin (/Users/20230619/localize-react-monaco-editor/node_modules/monaco-editor-webpack-plugin/out/index.js:74:26)
    at new MonacoEditorEsmWebpackPlugin (/Users/20230619/localize-react-monaco-editor/node_modules/monaco-editor-esm-webpack-plugin/src/core.js:7:24)
    at Object.<anonymous> (/Users/20230619/localize-react-monaco-editor/webpack.config.js:44:13)
    at Module._compile (internal/modules/cjs/loader.js:1114:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
    at Module.load (internal/modules/cjs/loader.js:979:32) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/20230619/localize-react-monaco-editor/node_modules/monaco-editor-webpack-plugin/out/index.js',
    '/Users/20230619/localize-react-monaco-editor/node_modules/monaco-editor-esm-webpack-plugin/src/core.js',
    '/Users/20230619/localize-react-monaco-editor/node_modules/monaco-editor-esm-webpack-plugin/index.js',
    '/Users/20230619/localize-react-monaco-editor/webpack.config.js',
    '/Users/20230619/localize-react-monaco-editor/node_modules/webpack-cli/lib/webpack-cli.js',
    '/Users/20230619/localize-react-monaco-editor/node_modules/webpack-cli/lib/bootstrap.js',
    '/Users/20230619/localize-react-monaco-editor/node_modules/webpack-cli/bin/cli.js',
    '/Users/20230619/localize-react-monaco-editor/node_modules/webpack/bin/webpack.js'
  ]
}
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.