Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

nest-cloudbase-template build failure 然后我将模板改造成构建成功版且新增了nest-webpack构建版🐸 #87

@JYbill

Description

@JYbill

Bug描述

  1. 使用官方收录的nestjs模板,构建失败
  2. 在window环境下使用tcb cli创建nestjs模板创建成功后,run dev/start失败

bug复现

  1. 创建cloudbase使用官方模板仓库的nest创建,待创建完成后创建失败。
  2. 使用tcb cli创建项目使用官方的init初始化后npm i => npm dev 报错

使用tcb cli创建项目错误展示

  • 第一个:npm i 后 npm run
'NODE_ENV' is not recognized as an internal or external command,
operable program or batch file.
  • 解决第一个后,第二个
node_modules/@types/superagent/index.d.ts:23:10 - error TS2305: Module '"buffer"' has no exported member 'Blob'.

23 import { Blob } from "buffer";
            ~~~~
[20:47:29] Found 1 error. Watching for file changes.

上面的所有错误我都解决,基本测试没问题

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions