Giter VIP home page Giter VIP logo

Comments (5)

PawanOsman avatar PawanOsman commented on June 13, 2024 1

Use http://localhost:3040/v1/ (a slash at the end is needed).

from chatgpt.

Ptagdam avatar Ptagdam commented on June 13, 2024

npm start

[email protected] start
tsc && node dist/app.js

src/app.ts:1:58 - error TS2307: Cannot find module 'express' or its corresponding type declarations.

1 import express, { Request, Response, NextFunction } from "express";
~~~~~~~~~

src/app.ts:2:24 - error TS2307: Cannot find module 'body-parser' or its corresponding type declarations.

2 import bodyParser from "body-parser";
~~~~~~~~~~~~~

src/app.ts:3:19 - error TS2307: Cannot find module 'axios' or its corresponding type declarations.

3 import axios from "axios";
~~~~~~~

src/app.ts:4:19 - error TS2307: Cannot find module 'https' or its corresponding type declarations.

4 import https from "https";
~~~~~~~

src/app.ts:5:28 - error TS2307: Cannot find module 'crypto' or its corresponding type declarations.

5 import { randomUUID } from "crypto";
~~~~~~~~

src/app.ts:35:23 - error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node.

35 const bufferChunk = Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk);
~~~~~~

src/app.ts:35:56 - error TS2580: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node.

35 const bufferChunk = Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk);
~~~~~~

Found 7 errors in the same file, starting at: src/app.ts:1

from chatgpt.

PawanOsman avatar PawanOsman commented on June 13, 2024

@Ptagdam, there are no errors, you need to install the dependencies first.

Run the start.bat or start.sh file as I mentioned in the instructions,
or execute npm install before npm start.

from chatgpt.

Ptagdam avatar Ptagdam commented on June 13, 2024

@Ptagdam, there are no errors, you need to install the dependencies first.

Run the start.bat or start.sh file as I mentioned in the instructions, or execute npm install before npm start.
Again same error

from chatgpt.

PawanOsman avatar PawanOsman commented on June 13, 2024

@Ptagdam, please follow the instructions. Make sure you have Node.js version 19 or later. delete node_modules folder if exists, Use the start file (start.bat for Windows and start.sh for Linux). If you encounter any errors when executing the start file, show them to me.

from chatgpt.

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.