-
Notifications
You must be signed in to change notification settings - Fork 50
Description
@DipokalLab Thank you for your work on this great project! Appreciating your efforts :)
I've encountered a potential compatibility issue when running Nugget App on Ubuntu.
App threw an error during load
TypeError: Cannot read properties of undefined (reading 'ffmpeg')
Describe the bug
I tried to setup the nugget-app in my ubuntu system. I faced the issue regarding ffmpeg.
To Reproduce
Steps to reproduce the behavior:
- npm install
- I didn't find binary files for ubuntu/linux. so i skipped the below step.
Download ffmpeg and ffprobe into the "./bin" folder. There's a version for Mac and a version for Windows separately. Compatible binary files can be downloaded from https://github.com/cartesiancs/ffmpeg4nugget
next, Permission grant is required. Please enter the command below to grant permission for bin folder.
- I ran "npm run dev" in one terminal
- and "npm run start" in another terminal. I got error. I attached the issue screenshot in the below.
Expected behavior
npm run dev
12:00:02 am - File change detected. Starting incremental compilation...
[0]
[1] assets by status 6.02 MiB [cached] 3 assets
[1] Entrypoint main 1.47 MiB (4.55 MiB) = style.css 18.2 KiB index.js 1.45 MiB 1 auxiliary asset
[1] cached modules 1.28 MiB (javascript) 17.6 KiB (css/mini-extract) 891 bytes (runtime) [cached] 196 modules
[1] webpack 5.95.0 compiled successfully in 959 ms
[0] node_modules/@types/glob/index.d.ts(29,42): error TS2694: Namespace '"/home/murugan/Product_UI/nugget-app/node_modules/minimatch/dist/commonjs/index"' has no exported member 'IOptions'.
[0] node_modules/@types/glob/index.d.ts(74,30): error TS2724: '"/home/murugan/Product_UI/nugget-app/node_modules/minimatch/dist/commonjs/index"' has no exported member named 'IMinimatch'. Did you mean 'Minimatch'?
[0]
[0] 12:00:02 am - Found 2 errors. Watching for file changes.
npm run start
> nugget-app@0.4.3 start
> electron .
App threw an error during load
TypeError: Cannot read properties of undefined (reading 'ffmpeg')
at Object.<anonymous> (/home/murugan/Product_UI/nugget-app/main/lib/ffmpeg.js:12:78)
at Module._compile (node:internal/modules/cjs/loader:1484:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1564:10)
at Module.load (node:internal/modules/cjs/loader:1295:32)
at Module._load (node:internal/modules/cjs/loader:1111:12)
at c._load (node:electron/js2c/node_init:2:16955)
at Module.require (node:internal/modules/cjs/loader:1318:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/home/murugan/Product_UI/nugget-app/main/render/renderMain.js:19:18)
at Module._compile (node:internal/modules/cjs/loader:1484:14)
A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: Cannot read properties of undefined (reading 'ffmpeg')
at Object.<anonymous> (/home/murugan/Product_UI/nugget-app/main/lib/ffmpeg.js:12:78)
at Module._compile (node:internal/modules/cjs/loader:1484:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1564:10)
at Module.load (node:internal/modules/cjs/loader:1295:32)
at Module._load (node:internal/modules/cjs/loader:1111:12)
at c._load (node:electron/js2c/node_init:2:16955)
at Module.require (node:internal/modules/cjs/loader:1318:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/home/murugan/Product_UI/nugget-app/main/render/renderMain.js:19:18)
at Module._compile (node:internal/modules/cjs/loader:1484:14)
Screenshots
Desktop:
- OS: Ubuntu 22.05
- chrome
Version
Nugget v0.4.3
@DipokalLab Kindly please help me for this. how to fix this issue?
Thanks
Murugan
