Skip to content

npm WARN monaco-editor-webpack-plugin@1.7.0 requires a peer of webpack@^4.5.0 but none was installed. #48

@564398053

Description

@564398053

got warning

npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none was installed.
npm WARN monaco-editor-webpack-plugin@1.7.0 requires a peer of webpack@^4.5.0 but none was installed.
npm WARN monaco-editor-webpack-plugin@1.7.0 requires a peer of monaco-editor@^0.15.1 but none was installed.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

my dependencies in package.json

    "vue-monaco": "^1.0.0",
    "monaco-editor-webpack-plugin": "^1.7.0",

my devDependencies in package.json

    "webpack": "^2.6.1",
    "webpack-bundle-analyzer": "^2.2.1",
    "webpack-dev-middleware": "^1.10.0",
    "webpack-hot-middleware": "^2.20.0",
    "webpack-merge": "^4.1.0"

the webpack I globally installed is 4.4.0

what webpack verison should i choose?

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