-
Notifications
You must be signed in to change notification settings - Fork 26
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
Can't install / update #73
Comments
Can't reproduce. Provide a minimal reproduction. |
Same error here using Linux |
It seems a problem with 'postinstall' hook, try v0.10.8 @anotherglitchinthematrix @jennysol |
it seems it failed to publish |
Why is [email protected] not found? |
I tried 0.10.8 with |
|
It seems that there is a problem with dependency in version 0.10.8. Until the problem is fixed |
@lilis7575 @liangyouzhu Hey, what if you manually install 'simple-git-hooks' in advance? |
I have already resolved this issue, it is a dependency issue. Thank you @cloydlau |
@liangyouzhu Could you tell me how? |
@anotherglitchinthematrix @lilis7575 @jennysol @liangyouzhu I believe v0.10.10 solved this problem. Oddly enough both vite & vue don't have this problem while putting simple-git-hooks in devDependencies. |
You can solve the install problem by installing simple-git-hooks. I am rooting for the developer as it is said to have been resolved in version 0.10.10. |
The problem is now, that simple-git-hooks adds hooks into the git repositories using json-editor-vue. In most of the cases that it not wished for and can lead to errors when calling git commit (i.e. |
======================== We don't want to use simple-git-hooks to use json-editor-vue. Please remove it from dependencies. |
That make sense. But it's unable to install if I put simple-git-hooks into devDependencies. And it's hard for me to debug this issue without publishing multiple new versions. Use v0.10.6 for now, I will look into this. Any help will be appreciated. |
@cloydlau thank you Why use simple-git-hooks? You may agree to publish a new version for testing. |
@anotherglitchinthematrix @sleicht @lilis7575 @jennysol @liangyouzhu |
@cloydlau Thanks, tried it and the issue with simple-git-hooks is resolved. But with my system I still have the issue, that it wants to do something in a lib directory, which fails:
This issue I can work around with following maven plugin:
|
@sleicht Hi, v0.10.15 won't run preinstall or postinstall hook when you install json-editor-vue as a dependency, give it a try. |
My solution is to write the dependent versions of the package.json and lock files to death, so that errors will not be reported during compilation and packaging |
Anyone else? I wonder if v0.10.15 addresses this issue. |
@cloydlau thank you for your work |
@cloydlau I tested v0.10.15 as well and do not need any workaround anymore. |
You're welcome, you can hit the star to support my work, thanks. |
Before you start, please make sure to:
Link to minimal reproduction
Environment specific error
Steps to reproduce
Linux: npm install json-editor-vue or npm update
MacOS: npm update
What is expected?
Successfully update/install.
What is actually happening?
On linux;
On MacOS;
I can't get the error message for now but the error was something like
lstat couldn't be located
.System Info
Package Manager
npm
Any additional comments?
The problem occured on 10.0.7, 10.0.6 was working.
No response
The text was updated successfully, but these errors were encountered: