Skip to content

编译不出index.js (是这么说吧? #431

Answered by Tsuk1ko
Miuzarte asked this question in 问题求助
Discussion options

You must be logged in to vote

哦,你是不是pm2一直没kill掉重新起?

3.x 开始切换到 esm 了,入口文件变了,是 mjs 不是 js,pm2 需要 kill 掉重新启动,当初更新日志里写了的

用最新的代码不要旧的代码,npm run kill 然后再 npm start

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Miuzarte
Comment options

@Tsuk1ko
Comment options

Answer selected by Tsuk1ko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants