Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Operation not permitted error on yarn install command #706

Closed
dwozniak8 opened this issue Dec 15, 2022 · 4 comments · Fixed by #712
Closed

Operation not permitted error on yarn install command #706

dwozniak8 opened this issue Dec 15, 2022 · 4 comments · Fixed by #712
Labels
bug Something isn't working

Comments

@dwozniak8
Copy link

Bug report

Describe the bug

There is error when try to install this package:

yarn add v1.22.19
Downloading https://github.com/supabase/cli/releases/download/v1.26.5/supabase_1.26.5_windows_amd64.tar.gz
internal/process/esm_loader.js:74
    internalBinding('errors').triggerUncaughtException(
                              ^

[Error: EPERM: operation not permitted, symlink '..\supabase\bin\supabase' -> 'C:\apps\cm\node_modules\.bin\supabase'] {
  errno: -4048,
  code: 'EPERM',
  syscall: 'symlink',

To Reproduce

  1. run yarn add --dev supabase in project

Expected behavior

Package shoud be installed

System information

  • OS: Windows 10
  • Version of Node.js: v.14.18.0
  • Version of Yarn: 1.22.19
@dwozniak8 dwozniak8 added the bug Something isn't working label Dec 15, 2022
@sweatybridge
Copy link
Contributor

sweatybridge commented Dec 15, 2022

Thanks for reporting this issue. Would you be open to using alternative installation methods on windows, like npm or scoop?

Those are documented to work on windows.

@LordZardeck
Copy link

We are having the exact same issue when deploying to vercel, using build cache.

@github-actions
Copy link

🎉 This issue has been resolved in version 1.26.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sweatybridge
Copy link
Contributor

I've released a fix for yarn on windows and added CI check for installation on all supported platforms. https://github.com/supabase/cli/actions/runs/3719923636

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants