json-editor-vue: Can't install / update

Before you start, please make sure to:

  • Read the doc
  • Have tried the latest version
  • Search to see if your issue already exists
  • Look for / ask questions on Stack Overflow
  • Reproduce the bug in incognito/private mode to avoid interference from browser extensions

Link to minimal reproduction

Environment specific error

Steps to reproduce

  1. Linux: npm install json-editor-vue or npm update

  2. MacOS: npm update

What is expected?

Successfully update/install.

What is actually happening?

On linux;

npm ERR! code 127
npm ERR! path /home/.../workspace/test/node_modules/json-editor-vue
npm ERR! command failed
npm ERR! command sh -c simple-git-hooks
npm ERR! sh: line 1: simple-git-hooks: command not found

On MacOS;

I can’t get the error message for now but the error was something like lstat couldn't be located.

System Info

System:
    OS: Linux 6.4 Arch Linux
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H
    Memory: 12.55 GB / 15.31 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 20.5.1 - /usr/bin/node
    npm: 9.8.1 - /usr/bin/npm

Package Manager

npm

Any additional comments?

The problem occured on 10.0.7, 10.0.6 was working.

No response

About this issue

  • Original URL
  • State: closed
  • Created 10 months ago
  • Comments: 31 (19 by maintainers)

Most upvoted comments

You’re welcome, you can hit the star to support my work, thanks.

@anotherglitchinthematrix @sleicht @lilis7575 @jennysol @liangyouzhu Hey guys, just released v0.10.14, help me test it in different operating system, thanks!

@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.