-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Path does not end with the package name #8558
Comments
@beyondkmp can you please take a look at this? Looks like the new log message was added recently in @timeowilliams can you share a minimum reproducible repo for this by chance? I'd like to add a unit test for our node module collector logic specific to your use case |
@mmaietta , absolutely: Steps:
You should have a successfull build. Then, once you run pnpm update > it'll update electron-builder to the latest version |
The @isaacs/cliui package depends on string-width-cjs@4.2.3, but the package that's actually downloaded is string-width@4.2.3. The name in the path doesn't match the original name, which is causing an error.
|
I used npm as my package manager and received this error too. Seems like I need to modify the package.json above the solution, but I have no idea which package imported is wrong. By the way, could you tell me how to downgrade back to v25.0.5 or specific the version of electron-builder when I spawn build process. |
@zigo233 if you using npm ,change electron-builder version for v25.0.5 in package.json ,if someone who useing pnpm,delete the pnpm.lock and change electron-builder version for v25.0.5 in package.json,then use npm for download the package |
@zigo233 You can test v26.0.0-alpha.1 |
The "25.1.6" version of the "electron builder" and the "element plus": "^ 2.8.5" will encounter this issue. Removing the "element plus" will fix it. The reason is unclear, but "element plus" is important |
Fix is in v25.1.8 |
Upgrade the electron builder to overcome electron-userland/electron-builder#8558
Operating system: MacOS M1 Macbook Pro
When I recently upgraded electron-builder from
25.0.5
to25.1.7
, I receive this new error after running this script from my package.json:Path does not end with the package name.
I used pnpm as my package manager. When I downgrade back to 25.0.5, I have no issues with running electron-builder and having a DMG I can open.
Error Logs:
The text was updated successfully, but these errors were encountered: