Skip to content

Unable to install MapEditor dependencies #386

@islaiter

Description

@islaiter

Hello team!

Been trying to install MapEditor to do a few changes, while trying to install dependencies, I get the following warns:

 WARN  deprecated @types/jszip@3.4.1: This is a stub types definition. jszip provides its own type definitions, so you do not need this installed.
 WARN  deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
 WARN  deprecated vue@2.6.14: Vue 2 has reached EOL and is no longer actively maintained. See https://v2.vuejs.org/eol/ for more details.
 WARN  11 deprecated subdependencies found: @humanwhocodes/config-array@0.13.0, @humanwhocodes/object-schema@2.0.3, acorn-import-assertions@1.9.0, consolidate@0.15.1, core-js@2.6.12, glob@7.2.3, inflight@1.0.6, popper.js@1.16.1, rimraf@3.0.2, stable@0.1.8, webpack-chain@6.5.1

If I try to ignore those and just build from there, I get the error:

node is not recognized as an internal or external command

Also tried to install latest Node version, v22.14.0 using chocolatey

choco install nodejs-lts

And setting up corepack for pnpm

corepack enable pnpm

After that, trying to build again, gives the following error:

Vue packages version mismatch:

  • vue@2.6.14 (..\Documents\Battlefield 3\Server\Admin\Mods\mapeditor\WebUI\node_modules.pnpm\vue@2.6.14\node_modules\vue\dist\vue.runtime.common.js)
  • vue-template-compiler@2.7.16 (..\Battlefield 3\Server\Admin\Mods\mapeditor\WebUI\node_modules.pnpm\vue-template-compiler@2.7.16\node_modules\vue-template-compiler\package.json)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions