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

viewerを起動できない (webpack: not found) #53

Open
Yosshi999 opened this issue Aug 10, 2023 · 2 comments
Open

viewerを起動できない (webpack: not found) #53

Yosshi999 opened this issue Aug 10, 2023 · 2 comments

Comments

@Yosshi999
Copy link

ログ

docker compose up viewerを行うと以下のエラーが出力され、ずっとrestartし続ける。

slack-patron-viewer  | 
slack-patron-viewer  | > [email protected] build /usr/local/slack-patron/viewer
slack-patron-viewer  | > webpack --mode production
slack-patron-viewer  | 
slack-patron-viewer  | 
slack-patron-viewer  | sh: webpack: not found

考えられる原因

#40, #42 に関連
docker compose buildでviewerのimage内にはnode_modulesが生成されるが (

RUN cd ${SRCDIR}/viewer && npm install
)、docker composeで起動する際にvolumeがバインドされる(
- .:/usr/local/slack-patron
)ことでフォルダが消えてしまう

@hakatashi
Copy link
Member

一理ある

@cookie-s
Copy link
Member

直してくれ

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

3 participants