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

pnpm devしてもエラーになることがある #13443

Closed
1 task
syuilo opened this issue Feb 23, 2024 · 7 comments
Closed
1 task

pnpm devしてもエラーになることがある #13443

syuilo opened this issue Feb 23, 2024 · 7 comments
Labels
⚠️bug? This might be a bug 🛠️Dev Development of Misskey itself

Comments

@syuilo
Copy link
Member

syuilo commented Feb 23, 2024

💡 Summary

サーバー側は問題なく起動している
image

🥰 Expected Behavior

no error

🤬 Actual Behavior

error

📝 Steps to Reproduce

No response

💻 Frontend Environment

* Model and OS of the device(s):
* Browser:
* Server URL:
* Misskey:

🛰 Backend Environment (for server admin)

* Installation Method or Hosting Service:
* Misskey:
* Node:
* PostgreSQL:
* Redis:
* OS and Architecture:

Do you want to address this bug yourself?

  • Yes, I will patch the bug myself and send a pull request
@syuilo syuilo added 🛠️Dev Development of Misskey itself ⚠️bug? This might be a bug labels Feb 23, 2024
@anatawa12
Copy link
Member

https://github.com/misskey-dev/misskey/blob/30fe0726069a90fe1ced88a8e4fbdec19fe13078/CONTRIBUTING.md#development

The front end can be viewed by accessing http://localhost:5173.

なので接続してるポートが違うと思います。

@syuilo syuilo closed this as completed Feb 23, 2024
@syuilo
Copy link
Member Author

syuilo commented Feb 23, 2024

やっぱりdevと非devでポート違うのどうにかできないかしら

@anatawa12
Copy link
Member

https://github.com/misskey-dev/misskey/blob/30fe0726069a90fe1ced88a8e4fbdec19fe13078/CONTRIBUTING.md#mk_dev_preferbackend-pnpm-dev

こっちのバージョンの pnpm dev 使えばいいと思います

@tamaina
Copy link
Contributor

tamaina commented Feb 23, 2024

HMR may not work in some environments such as Windows.

@tai-cha
Copy link
Contributor

tai-cha commented Feb 24, 2024

MK_DEV_PREFER=backend pnpm run dev

これすると起動できないの自分だけかしら
IMG_0264

@tai-cha
Copy link
Contributor

tai-cha commented Feb 24, 2024

image

@zyoshoka
Copy link
Contributor

それは裏で pnpm build-assets を走らせると一応治ります(#10367#12861

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠️bug? This might be a bug 🛠️Dev Development of Misskey itself
Projects
None yet
Development

No branches or pull requests

5 participants