upgrade

Node.js upgrade still shows older version in windows

感情迁移 提交于 2019-12-06 05:06:58
问题 I have downloaded and installed the new version of nodejs (4.1.2) using the .msi installer. After that I ran node -v , but it still shows the older version (0.12.2). I tried restarting Windows and even uninstalled nodejs and reinstalled it, but still it shows the same. Why is that happening and how can I resolve it? 回答1: Run a search for multiple copies of node.exe in the usual install paths: Program Files Get-ChildItem -File -path $env:PROGRAMFILES -include node.exe -recurse -force Program

Android: FirebaseUser, AuthCredential and others not found after Android Studio upgrade to 2.2 with com.google.firebase:firebase-auth:9.4.0

孤街醉人 提交于 2019-12-06 04:44:57
I just upgraded Android Studio to version 2.2, I'm on the stable channel. I then adjusted the build.grade file by bumping the version of compile 'com.google.firebase:firebase-auth:x.x.x' to 9.4.0 , which is currently the latest version. After syncing the project I am no longer able to use import com.google.firebase.auth.AuthCredential; import com.google.firebase.auth.AuthResult; and import com.google.firebase.auth.FirebaseUser; The online docs for Firebase don't mention anything related to this issue. What could be going on here? Currently New Version Released com.google.firebase:firebase-core

Is there a (relatively) painless upgrade path from ASP.NET 1.1 to 3.5?

為{幸葍}努か 提交于 2019-12-06 04:32:16
问题 One of my clients has an e-commerce CMS written in VB.NET 1.1. (The original solution was authored with Visual Studio 2003.) It's not an enormous site, but it does consist of around 40 or 50 Web forms, and I'd like to upgrade it to .NET 3.5, and to maintain and continue developing it it with VS 2008. I's sure I could do it surgically, re-creating the new project one file at a time, testing at each step of the way, and so on, but is there an easier way? I somewhat optimistically hoped VS 2008

How to migrate Struts from 2.0 to 2.5?

◇◆丶佛笑我妖孽 提交于 2019-12-06 03:45:20
I am working in a Struts 2.0 Project. What are the steps and precautions needed to do while upgrading Struts from 2.0 to 2.5? Many things have changed since Struts 2.0 (that is 10 years old). They're all described in the version notes of each release , that you should read. The best shot you have, however, is to bring your 2.0 project to a 2.3 one (the latest version, that currently is 2.3.32). The biggest things that you'll need to refactor ( from 2.0 to 2.3.32 ) are: remove DMI (this will probably be the biggest). remove Dojo plugin and tags remove static method accesses change the filter

Stuck on preserving config file in WIX major upgrade!

匆匆过客 提交于 2019-12-06 03:04:41
问题 ARGH! Wix is driving me crazy. So, of course I have seen the many posts both here on stackoverflow and elsewhere about WiX and major upgrades. I inherited this software project using WiX and am releasing a new version. I need this new version to leave ONLY the one configuration file if it's present, and replace everything else. This installer works EXCEPT no matter what I have done so far, the new XML file replaces the old on every install. Even attempting to use NeverOverwrite="yes" and even

How can I upgrade my 32 bit Amazon EC2 EBS backed instance into 64 bit one?

江枫思渺然 提交于 2019-12-06 02:49:10
问题 I am hosting a Wave in a Box server on Ubuntu EC2 instance. I started with a 32 bit micro one and then gradually upgraded to a small and now to a medium. However, as the number of users and stored data grows - the machine runs out of memory, so I want to upgrade to a large instance. The problem is - it's not possible to do by merely stopping the instance, changing the type and restarting. I guess I would need to create a 64 bit large instance and attach to it the volume from the medium

UIPickerView selectrow crash in iOS 6

﹥>﹥吖頭↗ 提交于 2019-12-06 02:43:57
My application build & run in iOS 5.x perfectly, but it crashes when I call selectRow:inComponent:animated: method of UIPickerView in iOS 6. code : [_pickerview selectRow:1 inComponent:0 animated:NO]; I know this method is not work in iOS6 when I googled it, but I want to know other method to do this effect? Your crash log says you have used a -1 in code where should be a number in range {0, 1}. But in the the code you paste you indeed use 1 . So you need to check your parameter for your xxx and yyy [_pickerview selectRow:xxx inComponent:yyy animated:NO]; The above answers are correct, However

Uninstalling another product during install using WiX

一曲冷凌霜 提交于 2019-12-06 02:23:56
I want to be able to remove another application as part of the install of my MSI file. Currently, I have the following in WiX: <Upgrade Id="{586A589B-D6D5-48D3-9B6D-571EF230ED6A}"> <UpgradeVersion Minimum="$(var.ProductVersion)" Property="NEWERPRODUCTFOUND" OnlyDetect="yes" IncludeMinimum="yes" /> <UpgradeVersion Minimum="1.0.0" Maximum="$(var.ProductVersion)" Property="PREVIOUSVERSIONSINSTALLED" IncludeMinimum="yes" /> </Upgrade> <Upgrade Id="{71F6B5D5-8CB9-48C9-B359-4BA22D5ADAF3}"> <UpgradeVersion Minimum="1.0.0.0" Maximum="3.5.3" Property="OLDAPPFOUND" IncludeMinimum="yes" IncludeMaximum=

Upgrading Django to 1.5 with Django-CMS - user model issue

爷,独闯天下 提交于 2019-12-06 01:58:42
I have just moved a site from Django-CMS 2.3.5 to 2.4.1 (with help from Stackoverflow) under Django 1.4. I am now upgrading to Django 1.5, which is only hard because I need to update the old separate user profile to a new custom user model. I followed the excellent instructions here , and also replaced all references to User with settings.AUTH_USER_MODEL . Unfortunately Django-CMS's models apparently still refer to User though: when I type manage.py runserver , I get this error: CommandError: One or more models did not validate: cms.pagemoderatorstate: 'user' defines a relation with the model

How to disable case-sensitivity for filename auto-completion in Emacs 24 shell-mode?

陌路散爱 提交于 2019-12-06 01:55:17
On upgrading from Emacs 23 to Emacs 24, filename completion suddenly became case sensitive in shell-mode . I had customized Emacs 23 to be case insensitive in this case but I forget the exact customizations now. Going over my .emacs file, I see that read-file-name-completion-ignore-case is set to non-nil. However, that seems to have no effect in Emacs 24's shell-mode . So it turns out that shell-mode in Emacs 24 uses pcomplete by default . pcomplete was always the default for eshell but Emacs 24 has made it so for shell too. pcomplete-ignore-case controls case sensitivity for pcomplete . I got