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

服务器 egg-scrips start 无法启动,一直提示文件找不到。但是本地能正常运行 #5338

Open
LemonYo opened this issue Jul 4, 2024 · 5 comments

Comments

@LemonYo
Copy link

LemonYo commented Jul 4, 2024

在此输入你需要反馈的 Bug 具体信息(Bug in Detail):

image

可复现问题的仓库地址(Reproduction Repo)

Node 版本号:

v18.19.1

Eggjs 版本号:

3.17.5

相关插件名称与版本号(PlugIn and Name):

egg-oss

操作平台与版本号(Platform and Version):

centos

@fengmk2
Copy link
Member

fengmk2 commented Jul 4, 2024

能否提供完整的错误日志?

@fengmk2
Copy link
Member

fengmk2 commented Jul 4, 2024

https://github.com/node-modules/oss-client/blob/1.x/lib/common/client/initOptions.js

按报错提示,你安装的 node_modules 里面少了上面的这个文件

@LemonYo
Copy link
Author

LemonYo commented Jul 4, 2024

https://github.com/node-modules/oss-client/blob/1.x/lib/common/client/initOptions.js

按报错提示,你安装的 node_modules 里面少了上面的这个文件

我是在ci里面执行的npm i --production

@LemonYo
Copy link
Author

LemonYo commented Jul 4, 2024

重点是,我即使是 disbaled egg-oss,其他的模块还是会出现module not fund

@LemonYo
Copy link
Author

LemonYo commented Jul 4, 2024

https://github.com/node-modules/oss-client/blob/1.x/lib/common/client/initOptions.js

按报错提示,你安装的 node_modules 里面少了上面的这个文件

image

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

2 participants