dimensionhq / electric Goto Github PK
View Code? Open in Web Editor NEWA fast, futuristic package manager for Windows.
Home Page: https://electric.sh
License: Apache License 2.0
A fast, futuristic package manager for Windows.
Home Page: https://electric.sh
License: Apache License 2.0
Describe the bug
The PowerShell install command fails with an error
To Reproduce
Run the following command on your powershell window:
iwr -useb get.electric.sh | iex
Output
404 Not Found
Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try
again.
At line:1 char:1
+ iwr -useb get.electric.sh | iex
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Expected behavior
Execution of an install script, I suppose.
Is your feature request related to a problem? Please describe.
I only use Linux.
Describe the solution you'd like
A linux & macos version.
Is your feature request related to a problem? Please describe.
As of 1.0-stable, it does not seem possible to request installation for several packages at the same time. For example electric install nodejs python neovim git
will throw the Got unexpected extra arguments
error, instead of installing the 4 requested packages consecutively.
Describe the solution you'd like
Would be super handy of the installer could loop through all the requested packages, and execute an appropriate function based on availability
Describe alternatives you've considered
No alternatives available in Electric
Is your feature request related to a problem? Please describe.
When accessing the page, there is a button different from the project icon.
Describe the solution you'd like
I was thinking of collaborating and noticed the button that had a different icon of the project and thought to contribute to this small detail to this project.
Describe alternatives you've considered
I initially thought of doing something like this:
Additional context
This can improve brand consistency by ui/ux.
Describe the bug
utf-8 issue on almost every command
PS C:\Users\Moi> electric install firefox
SuperCached [ Mozilla Firefox ]
██████████████████████████████ 56.6 / 56.6 MB
Verified Installer Hash
Installing Mozilla Firefox
Traceback (most recent call last):
File "electric.py", line 2386, in <module>
File "click\core.py", line 829, in __call__
File "click\core.py", line 782, in main
File "click\core.py", line 1259, in invoke
File "click\core.py", line 1066, in invoke
File "click\core.py", line 610, in invoke
File "click\decorators.py", line 21, in new_func
File "electric.py", line 467, in install
File "utils.py", line 1553, in get_pid
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x82 in position 57: invalid start byte
[2736] Failed to execute script electric
PS C:\Users\Moi>
To Reproduce
Any command triggers the bug.
Expected behavior
No error.
Desktop (please complete the following information):
PS D:> electric install git
SuperCached [ Git ]
Installing Git
An Error Occured While Installing Git
Would You Like To See The Error Message? (Y/n): y
[WinError 216] This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher
These automatically generated links may help:
[1] <=> swcarpentry/windows-installer#49
[2] <=> AmazingAmpharos/OoT-Randomizer#112
[3] <=> https://appuals.com/how-to-fix-this-version-of-this-file-is-not-compatible-with-the-version-of-windows-youre-running-error-on-windows/
[4] <=> https://stackoverflow.com/questions/39635044/errorcreateprocess-error-216-this-version-of-1
[5] <=> https://stackoverflow.com/questions/54254331/error-216-this-version-of-1-is-not-compatible-with-the-version-of-windows-you
[6] <=> https://stackoverflow.com/questions/29565779/cannot-find-command-git-windows
[7] <=> https://stackoverflow.com/questions/70460348/unable-to-install-behave
[8] <=> https://stackoverflow.com/questions/13790592/how-to-upgrade-git-on-windows-to-the-latest-version
[9] <=> https://forum.qt.io/topic/117314/error-createprocess-error-216-this-version-of-1-is-not-compatible-with-the-version-of-windows-you-re-running
[10] <=> https://windowsreport.com/version-not-compatible-with-windows/
[11] <=> https://open62541.org/doc/current/building.html
[12] <=> https://answers.microsoft.com/en-us/windows/forum/all/this-verison-of-this-file-is-not-compatible-with/0c6a4c8e-1416-47a5-b6b4-6d10a82942da
[13] <=> https://www.atlassian.com/git/tutorials/install-git
[14] <=> https://www.youtube.com/watch?v=Qh2B8x7xL2s
[15] <=> https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000094879-runnerw-exe-CreateProcess-failed-with-error-216-with-a-simple-Hello-World
[0000] => Installation failed due to an unknown reason.
We recommend you raise a support ticket with the data generated below:
{
Name => Git
Version => 3.0.2
Logfile => <--attachment-->
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.