本人想将项目搭载自己服务器上方便查看;;;;
但是问题来了,看下面;
npm run dev
台可以启动项目可以成功而且本地访问也没问题。nohup npm run dev &
怎么执行都不能成功!!!
- 打印的报错日志如下:
my.log中
> ts-axios-doc@1.0.events.js:187
throw er; // Unhandled 'error' event
^
Error: EBADF: bad file descriptor, read
Emitted 'error' event on ReadStream instance at:
at internal/fs/streams.js:167:12
at FSReqCallback.wrapper [as oncomplete] (fs.js:481:5) {
errno: -9,
code: 'EBADF',
syscall: 'read'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ts-axios-doc@1.0.0 dev: `vuepress dev docs`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ts-axios-doc@1.0.0 dev 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/2020-10-22T07_47_31_922Z-debug.log
如果已经有解决方案的话,发个链接过来我自己按着步骤来解答。