Error when installing using
npm install u/egjs/vue3-infinitegrid
Require stack:
/home/ponzi/dev/cc-vue3/node_modules/@egjs/vue3-infinitegrid/config/convert.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) at Function.Module._load (internal/modules/cjs/loader.js:746:27) at Module.require (internal/modules/cjs/loader.js:974:19) at require (internal/modules/cjs/helpers.js:93:18) at Object. (/home/ponzi/dev/cc-vue3/node_modules/@egjs/vue3-infinitegrid/config/convert.js:3:14) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module._load (internal/modules/cjs/loader.js:790:12) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/ponzi/dev/cc-vue3/node_modules/@egjs/vue3-infinitegrid/config/convert.js' ] } npm WARN postcss-modules@4.1.3 requires a peer of postcss@8.0.0 but none is installed. You must install peer dependencies yourself. npm WARN icss-utils@5.1.0 requires a peer of postcss@8.1.0 but none is installed. You must install peer dependencies yourself. npm WARN postcss-modules-extract-imports@3.0.0 requires a peer of postcss@8.1.0 but none is installed. You must install peer dependencies yourself. npm WARN postcss-modules-local-by-default@4.0.0 requires a peer of postcss@8.1.0 but none is installed. You must install peer dependencies yourself. npm WARN postcss-modules-scope@3.0.0 requires a peer of postcss@8.1.0 but none is installed. You must install peer dependencies yourself. npm WARN postcss-modules-values@4.0.0 requires a peer of postcss@8.1.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @egjs/vue3-infinitegrid@4.1.1 postinstall: node ./config/convert.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @egjs/vue3-infinitegrid@4.1.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/ponzi/.npm/_logs/2021-11-02T17_38_44_278Z-debug.log ponzi@pop-os:~/dev/cc-vue3$ npm install @egjs/vue3-infinitegrid
/home/ponzi/dev/cc-vue3/node_modules/@egjs/vue3-infinitegrid/config/convert.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) at Function.Module._load (internal/modules/cjs/loader.js:746:27) at Module.require (internal/modules/cjs/loader.js:974:19) at require (internal/modules/cjs/helpers.js:93:18) at Object. (/home/ponzi/dev/cc-vue3/node_modules/@egjs/vue3-infinitegrid/config/convert.js:3:14) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module._load (internal/modules/cjs/loader.js:790:12) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/ponzi/dev/cc-vue3/node_modules/@egjs/vue3-infinitegrid/config/convert.js' ] }
Then i installed sync-exec and still get another error now
Error: ENOENT: no such file or directory, open '/home/ponzi/dev/cc-vue3/node_modules/@egjs/vue3-infinitegrid/src/InfiniteGrid.ts'
at Object.openSync (fs.js:497:3)
at Object.readFileSync (fs.js:393:35)
at Object. (/home/ponzi/dev/cc-vue3/node_modules/@egjs/vue3-infinitegrid/config/convert.js:29:15)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
at internal/main/run_main_module.js:17:47 {
errno: -2,
Error when installing using npm install u/egjs/vue3-infinitegrid
Require stack: /home/ponzi/dev/cc-vue3/node_modules/@egjs/vue3-infinitegrid/config/convert.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) at Function.Module._load (internal/modules/cjs/loader.js:746:27) at Module.require (internal/modules/cjs/loader.js:974:19) at require (internal/modules/cjs/helpers.js:93:18) at Object. (/home/ponzi/dev/cc-vue3/node_modules/@egjs/vue3-infinitegrid/config/convert.js:3:14) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module._load (internal/modules/cjs/loader.js:790:12) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/ponzi/dev/cc-vue3/node_modules/@egjs/vue3-infinitegrid/config/convert.js' ] } npm WARN postcss-modules@4.1.3 requires a peer of postcss@8.0.0 but none is installed. You must install peer dependencies yourself. npm WARN icss-utils@5.1.0 requires a peer of postcss@8.1.0 but none is installed. You must install peer dependencies yourself. npm WARN postcss-modules-extract-imports@3.0.0 requires a peer of postcss@8.1.0 but none is installed. You must install peer dependencies yourself. npm WARN postcss-modules-local-by-default@4.0.0 requires a peer of postcss@8.1.0 but none is installed. You must install peer dependencies yourself. npm WARN postcss-modules-scope@3.0.0 requires a peer of postcss@8.1.0 but none is installed. You must install peer dependencies yourself. npm WARN postcss-modules-values@4.0.0 requires a peer of postcss@8.1.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @egjs/vue3-infinitegrid@4.1.1 postinstall: node ./config/convert.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @egjs/vue3-infinitegrid@4.1.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/ponzi/.npm/_logs/2021-11-02T17_38_44_278Z-debug.log ponzi@pop-os:~/dev/cc-vue3$ npm install @egjs/vue3-infinitegrid
@egjs/vue3-infinitegrid@4.1.1 postinstall /home/ponzi/dev/cc-vue3/node_modules/@egjs/vue3-infinitegrid node ./config/convert.js
internal/modules/cjs/loader.js:905 throw err; ^
Error: Cannot find module 'sync-exec' Require stack:
/home/ponzi/dev/cc-vue3/node_modules/@egjs/vue3-infinitegrid/config/convert.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) at Function.Module._load (internal/modules/cjs/loader.js:746:27) at Module.require (internal/modules/cjs/loader.js:974:19) at require (internal/modules/cjs/helpers.js:93:18) at Object. (/home/ponzi/dev/cc-vue3/node_modules/@egjs/vue3-infinitegrid/config/convert.js:3:14) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module._load (internal/modules/cjs/loader.js:790:12) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/ponzi/dev/cc-vue3/node_modules/@egjs/vue3-infinitegrid/config/convert.js' ] }
Then i installed sync-exec and still get another error now
Error: ENOENT: no such file or directory, open '/home/ponzi/dev/cc-vue3/node_modules/@egjs/vue3-infinitegrid/src/InfiniteGrid.ts' at Object.openSync (fs.js:497:3) at Object.readFileSync (fs.js:393:35) at Object. (/home/ponzi/dev/cc-vue3/node_modules/@egjs/vue3-infinitegrid/config/convert.js:29:15)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
at internal/main/run_main_module.js:17:47 {
errno: -2,