You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On npm install, one of the dependencies of jarallax, video-worker is not getting installed due to its latest version 1.1.13.
Version 1.12.6 and 1.12.5 both have this issue.
Steps to reproduce
use node version 14.15.4, npm version 6.4.10
add jarallax 1.12.5 or ^1.12.6 in my package.json
run npm i
Error got in npm install is as follows:
> video-worker@1.1.13 postinstall /var/www/blog-frontend1/node_modules/video-worker
> npx simple-git-hooks
internal/fs/utils.js:307
throw err;
^
Error: ENOENT: no such file or directory, stat '/home/ubuntu/.npm/_npx/356672/lib/package.json'
at Object.statSync (fs.js:1086:3)
at _getPackageJson (/home/ubuntu/.npm/_npx/356672/lib/node_modules/simple-git-hooks/simple-git-hooks.js:172:13)
at checkSimpleGitHooksInDependencies (/home/ubuntu/.npm/_npx/356672/lib/node_modules/simple-git-hooks/simple-git-hooks.js:103:34)
at postinstall (/home/ubuntu/.npm/_npx/356672/lib/node_modules/simple-git-hooks/postinstall.js:14:9)
at Object.<anonymous> (/home/ubuntu/.npm/_npx/356672/lib/node_modules/simple-git-hooks/postinstall.js:23:1)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) {
errno: -2,
syscall: 'stat',
code: 'ENOENT',
path: '/home/ubuntu/.npm/_npx/356672/lib/package.json'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! simple-git-hooks@2.4.1 postinstall: `node ./postinstall.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the simple-git-hooks@2.4.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ubuntu/.npm/_logs/2021-05-12T11_49_40_932Z-debug.log
Install for [ 'simple-git-hooks@latest' ] failed with code 1
Note - this is error part and not complete output of npm install.
Resolution:
my older installation is working with jarallax 1.12.5 which was using video-worker 1.1.10 but as 1.12.5 also has video-worker: "^1.1.10" in packsge.json so 1.12.5 is also not working now. So we need to use video-worker : "1.1.10" (specific version) till the time video-worker solves this issue.
Also tested that if I remove parallax from my package.json, npm install runs successfully.
The text was updated successfully, but these errors were encountered:
On npm install, one of the dependencies of jarallax, video-worker is not getting installed due to its latest version 1.1.13.
Version 1.12.6 and 1.12.5 both have this issue.
Steps to reproduce
Error got in npm install is as follows:
Note - this is error part and not complete output of npm install.
Resolution:
The text was updated successfully, but these errors were encountered: