Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.
This repository was archived by the owner on Nov 2, 2024. It is now read-only.

document 进阶部署‘s Configurator component does not work properly #70

@mitian233

Description

@mitian233

Describe the bug

复制按钮不工作,控制台提示

Uncaught ReferenceError: updatedEnvTemplate is not defined

配置文件模板内容有误,\n 被转义为换行

image

同时自己在根据文档步骤尝试使用 pm2 运行 ecosystem.config.ts 无法正常运行,自己折腾了一下发现是文档这边路径问题,一并改了,稍后会提一个 pr。

Reproduction

https://mx-space.js.org/docs/advanced

System Info

System:
    OS: Windows 11 10.0.26100
    CPU: (8) x64 Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
    Memory: 5.01 GB / 15.89 GB
  Binaries:
    Node: 20.8.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - C:\Program Files\nodejs\yarn.CMD
    npm: 10.1.0 - C:\Program Files\nodejs\npm.CMD
    bun: 1.1.2 - ~\scoop\shims\bun.EXE
  Browsers:
    Edge: Chromium (125.0.2535.51)
    Internet Explorer: 11.0.26100.1

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

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