Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error Couldn't find any versions for "@electron-forge/maker-zip" that matches "^7.4.0" #3566

Closed
3 tasks done
SV-yang-yahui opened this issue Apr 12, 2024 · 2 comments
Closed
3 tasks done

Comments

@SV-yang-yahui
Copy link

SV-yang-yahui commented Apr 12, 2024

Pre-flight checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project uses.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version

^7.4.0

Electron version

^29.3.0

Operating system

Windows 11 (22631.3296)

Last known working Electron Forge version

No response

Expected behavior

yarn add --dev @electron-forge/cli
npx electron-forge import

✔ Checking your system
✔ Initializing Git Repository
✔ Writing modified package.json file
✔ Installing dependencies
✔ Writing modified package.json file
✔ Fixing .gitignore

We have ATTEMPTED to convert your app to be in a format that electron-forge understands.

Thanks for using "electron-forge"!!!

Actual behavior

PS C:\Users\yahui.yang\Desktop\ingres> npx electron-forge import
✔ Checking your system
✔ Locating importable project
❯ Processing configuration and dependencies
✖ Installing dependencies
› Failed to install modules: ["@electron/fuses","@electron-forge/cli@^7.4.0","@electron-forge/maker-squirrel@^7.4.0","@electron-forge/maker-zip@^7.4.0","@electron-forge/maker-deb@^7.4.0","@electron-forge/
maker-rpm@^7.4.0","@electron-forge/plugin-auto-unpack-natives@^7.4.0","@electron-forge/plugin-fuses@^7.4.0"]

With output: Command failed with a non-zero return code (1):                                                                                                                                                  
yarn add @electron/fuses @electron-forge/cli@^7.4.0 @electron-forge/maker-squirrel@^7.4.0 @electron-forge/maker-zip@^7.4.0 @electron-forge/maker-deb@^7.4.0 @electron-forge/maker-rpm@^7.4.0                  
@electron-forge/plugin-auto-unpack-natives@^7.4.0 @electron-forge/plugin-fuses@^7.4.0 --dev                                                                                                                   
yarn add v1.22.19                                                                                                                                                                                             
[1/4] Resolving packages...                                                                                                                                                                                   
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.                                                                                                                          
                                                                                                                                                                                                              
error Couldn't find any versions for "@electron-forge/maker-zip" that matches "^7.4.0"                                                                                                                        
error Couldn't find any versions for "@electron-forge/maker-zip" that matches "^7.4.0"                                                                                                                        

◼ Copying base template Forge configuration
◼ Fixing .gitignore
◼ Finalizing import

An unhandled rejection has occurred inside Forge:
Error: Failed to install modules: ["@electron/fuses","@electron-forge/cli@^7.4.0","@electron-forge/maker-squirrel@^7.4.0","@electron-forge/maker-zip@^7.4.0","@electron-forge/maker-deb@^7.4.0","@electron-forge/maker-rpm@^7.4.0","@electron-forge/plugin-auto-unpack-natives@^7.4.0","@electron-forge/plugin-fuses@^7.4.0"]

With output: Command failed with a non-zero return code (1):
yarn add @electron/fuses @electron-forge/cli@^7.4.0 @electron-forge/maker-squirrel@^7.4.0 @electron-forge/maker-zip@^7.4.0 @electron-forge/maker-deb@^7.4.0 @electron-forge/maker-rpm@^7.4.0 @electron-forge/plugin-auto-unpack-natives@^7.4.0 @electron-forge/plugin-fuses@^7.4.0 --dev
yarn add v1.22.19
[1/4] Resolving packages...
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

error Couldn't find any versions for "@electron-forge/maker-zip" that matches "^7.4.0"
error Couldn't find any versions for "@electron-forge/maker-zip" that matches "^7.4.0"
at exports.default (C:\Users\yahui.yang\Desktop\ingres\node_modules@electron-forge\core\dist\util\install-dependencies.js:52:19)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async _Task.task [as taskFn] (C:\Users\yahui.yang\Desktop\ingres\node_modules@electron-forge\core\dist\api\import.js:172:29)
at async _Task.run (C:\Users\yahui.yang\Desktop\ingres\node_modules\listr2\dist\index.cjs:2063:11)

Steps to reproduce

try to build a electron app by electron forage cli and excute the follow cmd :

yarn add --dev @electron-forge/cli
npx electron-forge import

Additional information

No response

@SV-yang-yahui SV-yang-yahui changed the title ddd error Couldn't find any versions for "@electron-forge/maker-zip" that matches "^7.4.0" Apr 12, 2024
@georgexu99
Copy link
Contributor

Thanks for submitting this issue. Does this work when using 7.3.0?

@erickzhao
Copy link
Member

Closing as a duplicate of #3564

@erickzhao erickzhao closed this as not planned Won't fix, can't repro, duplicate, stale Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants