mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-04-30 18:59:31 +08:00
new post
This commit is contained in:
parent
e3d3106970
commit
68da2b2c4d
1 changed files with 4 additions and 2 deletions
|
@ -41,7 +41,7 @@ tags:
|
|||
- **public**
|
||||
- **server**(这里面有 node_module 了,不需要额外 npm install,重新装会破坏原有的内容)
|
||||
- **nitro.json**
|
||||
- ecosystem.config.js
|
||||
- **ecosystem.config.js**
|
||||
|
||||
## Step3 - 配置 pm2
|
||||
|
||||
|
@ -99,7 +99,9 @@ pm2 start ecosystem.config.js
|
|||
|
||||
- **[nuxt] [request error] [unhandled] [500] Cannot find package '@popperjs/core'**
|
||||
[https://github.com/element-plus/element-plus/issues/6233](https://github.com/element-plus/element-plus/issues/6233)
|
||||
|
||||
换成`yarn install`,这个应该是 element plus 或者 pnpm、npm 的问题,没有把这个依赖包包进去
|
||||
|
||||
- **ENOENT: no such file or directory**
|
||||
除去真的没有这个文件的情况,一般是切换包管理工具的时候会出现这个问题,比如 pnpm 切换到 yarn,此时可以试试重新`npx nuxi init nuxt-app` 初始化一个 nuxt 项目文件夹`nuxt-app`,初始化 install 之后,把东西搬过去再`yarn install`
|
||||
|
||||
|
|
Loading…
Reference in a new issue