Giter VIP home page Giter VIP logo

Comments (4)

xmm228 avatar xmm228 commented on May 19, 2024

1、安装依赖提示有包没有o matching version found for @types/marked@^0.7.0
2、npm run start 会报很多moudle没有,手动装了 还是不行
3、 ^
TSError: ⨯ Unable to compile TypeScript:
src/main.ts:9:25 - error TS2307: Cannot find module 'helmet'.

9 import * as helmet from 'helmet';
~~~~~~~~
src/main.ts:10:29 - error TS2307: Cannot find module 'body-parser'.

10 import * as bodyParser from 'body-parser';
~~~~~~~~~~~~~
src/main.ts:11:30 - error TS2307: Cannot find module 'compression'.

11 import * as compression from 'compression';
~~~~~~~~~~~~~
src/main.ts:12:28 - error TS2307: Cannot find module 'express-rate-limit'.

12 import * as rateLimit from 'express-rate-limit';
~~~~~~~~~~~~~~~~~~~~
src/main.ts:14:40 - error TS2307: Cannot find module '@nestjs/core'.

14 import { NestFactory, Reflector } from '@nestjs/core';
~~~~~~~~~~~~~~
src/main.ts:23:1 - error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try npm i @types/node.

23 process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';

src/main.ts:28:15 - error TS2304: Cannot find name 'global'.

28 Object.assign(global.console, {
              ~~~~~~
烦请作者百忙之中帮忙看一下,是依赖的问题还是什么问题,十分感谢!

from nodepress.

surmon-china avatar surmon-china commented on May 19, 2024

最近一周我会发布一个新的版本,届时这些问题都会被解决掉,请关注。

from nodepress.

xmm228 avatar xmm228 commented on May 19, 2024

最近一周我会发布一个新的版本,届时这些问题都会被解决掉,请关注。

非常感谢作者的辛苦付出和开源,希望能把这个项目简化一些,如依赖更加轻量化、依赖更加大众化的插件,不然依赖的包不维护了在npm上安装都安装不了。另外希望作者把整体的架构简化清晰一些,这样利于我们新手上手和学习,否则根本无法上手。
只是个人建议,打扰了!非常感谢!

from nodepress.

surmon-china avatar surmon-china commented on May 19, 2024

@xiaoming0827 已发布 v3.2.0,可以直接安装,应该无错

from nodepress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.