Giter VIP home page Giter VIP logo

Comments (1)

RichForever888 avatar RichForever888 commented on June 21, 2024

使用 sudo npm run start 运行后:

npm WARN config init.module Use `--init-module` instead.

> @moonvy/[email protected] start
> npm-run-all --parallel dev serve

npm WARN config init.module Use `--init-module` instead.
npm WARN config init.module Use `--init-module` instead.

> @moonvy/[email protected] serve
> jiti ./server/index.ts


> @moonvy/[email protected] dev
> vite --host 0.0.0.0

Port 12833 is in use, trying another one...

  VITE v4.3.1  ready in 293 ms

  ➜  Local:   http://localhost:12834/apps/ops/
  ➜  Network: http://10.XXX.XXX.179:12834/apps/ops/
  ➜  press h to show help
node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE: address already in use :::39011
    at Server.setupListenHandle [as _listen2] (node:net:1740:16)
    at listenInCluster (node:net:1788:12)
    at Server.listen (node:net:1876:7)
    at Function.listen (/www/wwwroot/XXXX/app/OpenPromptStudio-master/node_modules/express/lib/application.js:635:24)
    at /www/wwwroot/XXXX/app/OpenPromptStudio-master/server/index.ts:27:5
    at jiti (/www/wwwroot/XXXX/app/OpenPromptStudio-master/node_modules/jiti/dist/jiti.js:1:247502)
    at Object.<anonymous> (/www/wwwroot/XXXX/app/OpenPromptStudio-master/node_modules/jiti/bin/jiti.js:16:1)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
Emitted 'error' event on Server instance at:
    at emitErrorNT (node:net:1767:8)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: 'EADDRINUSE',
  errno: -98,
  syscall: 'listen',
  address: '::',
  port: 39011
}

Node.js v18.16.0
ERROR: "serve" exited with 1.

39011端口是打开的

from openpromptstudio.

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.