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

npm install fails installing alias #107

Open
aalex opened this issue Jun 11, 2019 · 2 comments
Open

npm install fails installing alias #107

aalex opened this issue Jun 11, 2019 · 2 comments
Assignees
Labels
bug Something isn't working code design good first issue Good for newcomers

Comments

@aalex
Copy link

aalex commented Jun 11, 2019

I did this:

gatsby new some-i18-bulma https://github.com/kalwalt/gatsby-starter-i18n-bulma

and I got the following error:

npm ERR! Invalid dependency type requested: alias

npm ERR! A complete log of this run can be found in:
error Command failed: npm install
@kalwalt kalwalt self-assigned this Jun 11, 2019
@kalwalt
Copy link
Owner

kalwalt commented Jun 11, 2019

npm ERR! Invalid dependency type requested: alias

Hi @aalex, very strange issue. It seems it is related to yarn see this article on stackoverflow: https://stackoverflow.com/questions/54085943/npm-err-invalid-dependency-type-requested-alias

Can you try simply to clone the repo and use yarn to install the packages?
In the next days i will try to find the reason for this issue...
Sorry for the troubles!

@kalwalt kalwalt added bug Something isn't working code design good first issue Good for newcomers labels Jun 11, 2019
@kalwalt
Copy link
Owner

kalwalt commented Jun 12, 2019

This not happens with yarn, at least for me, can't test for now with npm because the option to choose yarn or npm is skipped,(by default? i don't know...). I will inform you as i have some news.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working code design good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants