7zip-lite folder
See original GitHub issuefor some reason when executing this code in electron main:
const { default: installExtension, REACT_DEVELOPER_TOOLS, REDUX_DEVTOOLS, REACT_PERF } = require('electron-devtools-installer');
installExtension(REACT_DEVELOPER_TOOLS).then((name) => console.log(`Added Extension: ${name}`)).catch((err) => console.log('An error occurred: ', err));
installExtension(REDUX_DEVTOOLS).then((name) => console.log(`Added Extension: ${name}`)).catch((err) => console.log('An error occurred: ', err));
installExtension(REACT_PERF).then((name) => console.log(`Added Extension: ${name}`)).catch((err) => console.log('An error occurred: ', err));
i get ‘file not found’ error for [directory where electron main is]/7zip-lite/7z.exe
i was able to fix this simply by copying node_modules/7zip/7zip-lite folder over there - then electorn successfully installs all 3 tools and error goes away even if i remove copied 7zip-lite folder.
im guessing, that somewhere in code u have wrong path to 7z.exe - not pointing to node_modules …
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:11 (3 by maintainers)
Top Results From Across the Web
7-Zip
7-Zip is a file archiver with a high compression ratio. Download 7-Zip 22.01 (2022-07-15) for Windows: Link, Type, Windows, Size. Download .exe, 64-bit...
Read more >7-Zip Portable (file archiver) | PortableApps.com
7-Zip is a file archiver (compression) utility for Windows with a great array of features including: high compression ratio in new 7z format ......
Read more >Lite 7z zip & 7z File Extractor for Android - CNET Download
7zip file manages files and zip folders. - 7zip, zip and unzip are two unique features of this quick 7Zip & 7Zip File...
Read more >How do I zip a folder with 7-zip but not subfolders of that folder?
Open a command prompt and if 7-Zip is not in your path, navigate to the directory with the 7-Zip files, then type: 7z.exe...
Read more >7Z: Zip & 7Zip Files Manager - Apps on Google Play
7Z lets you take control of archive files like 7Zip (7z format) zip, rar, jar or APK on your device. Quickly and easily...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I am using Babel with webpack and __dirname was always resolving to ‘/’. The fix for me is to add to the webpack config:
node: { __dirname: true }On official documentation
🎉 This issue has been resolved in version 3.0.0 🎉
The release is available on:
Your semantic-release bot 📦🚀