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

[Bug]: Illegal operation on a directory #206

Open
slacksystem opened this issue Jun 15, 2023 · 3 comments
Open

[Bug]: Illegal operation on a directory #206

slacksystem opened this issue Jun 15, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@slacksystem
Copy link

slacksystem commented Jun 15, 2023

Opencommit Version

2.2.10

Node Version

v20.1.0

NPM Version

9.6,4

What OS are you seeing the problem on?

Windows

What happened?

In powershell, when typing oco hook set I get the error:

Error: EISDIR: illegal operation on a directory, symlink 'C:\Users\<USERNAME>\AppData\Roaming\npm\node_modules\opencommit\out\cli.cjs' -> 'E:\Documents\code\<PROJECTNAME>\.git\hooks\prepare-commit-msg'

Expected Behavior

I would have expected it to set the hook

Current Behavior

It fails with the above error

Possible Solution

No response

Steps to Reproduce

  • Open Powershell
  • Navigate to project folder
  • oco hook set
  • Receive

Relevant log output

No response

@slacksystem slacksystem added the bug Something isn't working label Jun 15, 2023
@seho-dev
Copy link
Contributor

Please check the .npmrc file

@di-sukharev
Copy link
Owner

@seho-dev hi bro, wdym?

@github-actions
Copy link

Stale issue message

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

No branches or pull requests

3 participants