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

运行报错 #662

Open
shecong opened this issue Sep 30, 2022 · 2 comments
Open

运行报错 #662

shecong opened this issue Sep 30, 2022 · 2 comments

Comments

@shecong
Copy link

shecong commented Sep 30, 2022

PS E:\my\InitiationTest\vue2-elm-master\vue2-elm-master> npm run dev

[email protected] dev
cross-env NODE_ENV=online node build/dev-server.js

node:internal/modules/cjs/loader:959
throw err;
^

Error: Cannot find module 'express'
Require stack:

  • E:\my\InitiationTest\vue2-elm-master\vue2-elm-master\build\dev-server.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
    at Function.Module._load (node:internal/modules/cjs/loader:804:27)
    at Module.require (node:internal/modules/cjs/loader:1028:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object. (E:\my\InitiationTest\vue2-elm-master\vue2-elm-master\build\dev-server.js:4:15)
    at Module._compile (node:internal/modules/cjs/loader:1126:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
    at Module.load (node:internal/modules/cjs/loader:1004:32)
    at Function.Module._load (node:internal/modules/cjs/loader:839:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    'E:\my\InitiationTest\vue2-elm-master\vue2-elm-master\build\dev-server.js'
    ]
    }
@chenyang48671155
Copy link

没有express模块

@sumcater
Copy link

sumcater commented May 13, 2023 via email

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

3 participants