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

Maintaining links between different node versions #16

Open
matyasfodor opened this issue Sep 20, 2017 · 0 comments
Open

Maintaining links between different node versions #16

matyasfodor opened this issue Sep 20, 2017 · 0 comments

Comments

@matyasfodor
Copy link

I'm using nvm on MacOS and recently switched to node version 8.5.0. I reinstalled wml and my link seemed to be lost, wml list returned nothing. I quickly realized that the links are saved in links.json in the source folder so I could just

cp ~/.nvm/versions/node/v7.7.4/lib/node_modules/wml/src/links.json ~/.nvm/versions/node/v8.5.0/lib/node_modules/wml/src/links.json

But I think this is not the best solution. How about keeping the links in a .wmlrc file in the user's home folder as many other applications do?

I don't have experience with writing node modules, but I didn't expect a cli tool to modify a file in its source folder.

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

1 participant