Open Rayi opened 2 weeks ago
The Yarn Plug'n'Play manifest forbids importing "@sentry/electron" here because it's not listed as
a dependency of this package:
I am not sure but it seems you enbled pnp. Can you make sure the git repo is clean, and pnp is not enabled for affine repo (also check its ancestor folders) and globally?
After i removed the file '.pnp.cjs', it works. It is hard to find out why pnp enabled. I cloned the git repo without doing anything.
What happened?
when i follow https://docs.affine.pro/docs/development/dev-guide/electron-dev-guide steps , with 'yarn run dev:electron' command, it throws errors.
Before this, 'yarn install' command runs successfully.
node -v v20.17.0
yarn -v 4.1.1
Distribution version
macOS x64 (Intel)
What browsers are you seeing the problem on if you're using web version?
Other
Are you self-hosting?
Relevant log output
Anything else?
No response