我在考虑

2023-03-01  本文已影响0人  末远川

NODE_ENV=production node -r esm server.js

/shakespeare/server.js:1

Error: Cannot find module './api/Ajax'

Require stack:

- /shakespeare/server.js

    at Object.<anonymous> (/shakespeare/server.js:1) {

  code: 'MODULE_NOT_FOUND',

  requireStack: [ '/shakespeare/server.js' ]

}

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! shakespeare@1.1.0 start: `NODE_ENV=production node -r esm server.js`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the shakespeare@1.1.0 start script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

npm ERR!    /root/.npm/_logs/2023-03-02T10_33_34_596Z-debug.log

上一篇 下一篇

猜你喜欢

热点阅读