-
Notifications
You must be signed in to change notification settings - Fork 244
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
asar is a PiTA to install in Windows (7 64 bit here) #20
Comments
Note: the last time I ran into a similar message from npm I ended-up installing a Net Framework which promptly broke all the other Net Frameworks so it anyone has a link - that'd be great ;0 |
ASAR isn't written in C# at all - why are you getting prompted to install the .NET Framework? |
What I get (it's not easy to copy this from terminal) is.... C:\Users\john>npm install asar
ECHO is on.
C:\Users\john\node_modules\asar\node_modules\chromium-pickle>node "E:\nodejs\nod npm ERR! chromium-pickle@0.1.4 install: On 24 February 2015 at 01:45, Paul Betts notifications@github.com wrote: — |
You just need a visual studio compiler for the native dependency chromium-pickle. Edit: Tip: when pasting console output, you can surround it with 3 backticks ``` to prevent it from being interpreted as markdown. |
Actually Visual Studio 2013 Community Edition would be better, but @bwin's advice generally still stands. Agree that this is a super misleading error message though |
So to package my HTML5/CSS application I need Node, NPM, Python and MS Visual Studio installed - that's silly... Time for a trip back to the drawing board on that one - particularly as I'm guessing the issues relate to handling/serialising binary content which - erm - why would you be packaging/distributing binary content for an HTML5/CSS/JS application?? |
@shrewdlogarithm Sorry to hear it's not working for you. You're certainly free to try another solution like CEF! |
images, fonts... edit: sorry missed it: also native modules of course I personally dislike the dependency on a native module, but you make it sound worse than it is. It just needs the default windows native build-toolchain (which happens to be ms visual studio). You need that for every native module. |
Images/Fonts - fair enough tho I never ship binary Fonts because that's a The same security concerns make me wary of native Node Modules - I realise You're missing the issue that people like myself - looking at deploying web On 24 February 2015 at 03:11, Benjamin Winkler notifications@github.com
|
Yeah, you're right. It could/should be simplified for the web (only) developers. Getting node+npm up and running should be enough to get started. |
I appreciate what's being attemped with asar - I'm not entirely sure why It's arguably a lot more elegant than unzipping files into temp EVERY time Would one option not be building zip/tar->asar support within atom-shell's and as an aside - I assume atom-shell locks the asar whilst running, so an On 24 February 2015 at 03:38, Benjamin Winkler notifications@github.com
|
Following this up, I decided to try to convert my node-webkit GitHub auto-updater to work for atom/asar projects too To avoid having to install VS I switched to a Linux MINT virtualmachineI and I ran into that stupid Debian 'node' collision issue which meant it took EONS to get asar built (but it does seem to work once you kick and punch it into submission) Not wanting to continue the battle against Debian's ass-backwards approach to module renaming, I switched back to Windows, installed VS and asar builds and installs there AOK - finally. Having built and tested my app there, I deployed it to RedHat OpenShift and it crashed-and-burned - because it doesn't support/have access to the "gyp" module (and there's a 6+month old support ticket so it's not going to be fixed anytime soon) This is the real downside to relying to native modules - you make your software hard to deploy pretty-much everywhere!? I really do think a slicker solution to "pickling" may be required... |
A dependency on Python and an ancient version of the Net Frameworks makes this a royal pain-in-the-arse to install on Windows (I've yet to manage to find the exact Framework it's asking for)
Tips apprec.
The text was updated successfully, but these errors were encountered: