Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有关nestjs cloudbase-template创建失败问题 #242

Open
JYbill opened this issue Feb 16, 2022 · 0 comments
Open

有关nestjs cloudbase-template创建失败问题 #242

JYbill opened this issue Feb 16, 2022 · 0 comments

Comments

@JYbill
Copy link

JYbill commented Feb 16, 2022

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.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant