antonreshetov / image-optimizer

A tool for optimizing images and vector graphics.
MIT License
888 stars 63 forks source link

Error #1

Closed TechMorgan closed 2 years ago

TechMorgan commented 2 years ago

A JavaScript error occurred in the main process

Uncaught Exception: Error: Config schema violation: bounds must be object at ElectronStore._validate (/Applications/Image Optimizer.app/Contents/Resources/app.asar/node_modules/conf/dist/source/index.js:353:15) at new Conf (/Applications/Image Optimizer.app/Contents/Resources/app.asar/node_modules/conf/dist/source/index.js:132:14) at new ElectronStore (/Applications/Image Optimizer.app/Contents/Resources/app.asar/node_modules/electron-store/index.js:69:3) at Object. (/Applications/Image Optimizer.app/Contents/Resources/app.asar/src/main/store/module/app.js:3:13) at Module._compile (node:internal/modules/cjs/loader:1116:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) at Module.load (node:internal/modules/cjs/loader:988:32) at Module._load (node:internal/modules/cjs/loader:829:12) at Function.c._load (node:electron/js2c/asar_bundle:5:13331) at Module.require (node:internal/modules/cjs/loader:1012:19)

From: macOS 10.15

antonreshetov commented 2 years ago

@TechMorgan please try v1.0.1

antonreshetov commented 2 years ago

Closed because it was fixed in #2

TechMorgan commented 2 years ago

From v1.2.0

Uncaught Exception: Error: ENOENT: no such file or directory, lstat '/Users/deepak/Desktop/minified/Screenshot 2021-06-17 at 3.37.18 PM 5.png' at lstatSync (node:fs:1514:3) at Object.e.lstatSync (node:electron/js2c/asar_bundle:5:3740) at getFileSize (/Applications/Image Optimizer.app/Contents/Resources/app.asar/src/main/utils/index.js:14:19) at /Applications/Image Optimizer.app/Contents/Resources/app.asar/src/main/image-compressor.js:146:38 at ChildProcess.exithandler (node:child_process:413:5) at ChildProcess.emit (node:events:394:28) at maybeClose (node:internal/child_process:1064:16) at Socket. (node:internal/child_process:450:11) at Socket.emit (node:events:394:28) at Pipe. (node:net:672:12)