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

nodist 0.8 seems like changed naming rule of node directory #151

Closed
iulo opened this issue Jul 12, 2016 · 6 comments
Closed

nodist 0.8 seems like changed naming rule of node directory #151

iulo opened this issue Jul 12, 2016 · 6 comments

Comments

@iulo
Copy link

iulo commented Jul 12, 2016

upgrade form 0.7.2 to 0.8

nodist seems like install 6.x by itself. and the naming rule of node directory changed .

C:\Program Files (x86)\Nodist\v
├─6.2.2
├─nodev0.12.2
├─nodev4.0.0
├─nodev4.2.3
├─nodev4.2.6
├─nodev4.4.0
├─nodev4.4.4
├─nodev5.3.0
└─nodev5.5.0

I get an error Sorry, there's a problem with nodist. Couldn't resolve version spec %s: %s nodev4.4.4 improper constraint: nodev4.4.4

@iulo
Copy link
Author

iulo commented Jul 12, 2016

solved.
edit .node-version from ‘nodev4.4.4’ to 4.4.4

@iulo
Copy link
Author

iulo commented Jul 12, 2016

nodist dist return list weird.
The order is unordered

...
 1.5.1  
 5.9.0  
 1.5.0  
 5.9.1  
 1.4.3  
 5.10.0 
 1.4.2  
 5.10.1 
 1.4.1  
 5.11.0 
 1.3.0  
 5.11.1 
 1.2.0  
 5.12.0 
 1.1.0  
 6.0.0  
 1.0.4  
 6.1.0  
 1.0.3  
 6.2.0  
 1.0.2  
 6.2.1  
 1.0.1  
 6.2.2  
 1.0.0  
 0.8.8  

@marcelklehr
Copy link
Member

Hi!

Sorry for the inconvenience. I added some upgrading instructions to make sure the nodist directory is completely removed before installing v0.8 and added a note about the possible necessity to re-set local node version settings.

I also created #152 for the dist sub-command bug.

@iulo
Copy link
Author

iulo commented Jul 13, 2016

does that mean node_modules dir will be delete ?

@iulo
Copy link
Author

iulo commented Jul 13, 2016

@marcelklehr I totally reinstall nodist 0.8.1 , but the version sorting still weird.
Do you have any other way to upgrade from 0.7.x to 0.8.x ? I have a lot of global module, Now I have to reinstall them. I feel terribile now 😭

@marcelklehr
Copy link
Member

I'm sorry :( To be precise, only deleting the .node-version file, bin/npm.cmd, bin/node_modules/npm/ and the v/ and v-x64/ dirs is necessary, iirc. It might make sense to separate nodist's binaries from the globally installed npm packages, in order to avoid such problems in the future. See #154 for this.
The fix for version sorting in the nodist dir output is not released yet. v0.8.1 fixes some other issues.

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

2 participants