-
Notifications
You must be signed in to change notification settings - Fork 0
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
Generator trails fails to install when behind corporate proxy #1
Comments
Maybe this is an upstream issue since this project is forked, but I'm not entirely sure. |
Just ran into this same issue but running on latest node v7.0.0 and latest yo / generator-trails and seem to run into the same issue here:
Edit: |
I'm really not sure what to do here. Do other npm installations work fine? This generator isn't doing anything special that npm isn't already doing. |
Spent some time doing some research after I posted that ^^ In addition to just doing an npm install, the generator is also using I tried to make a quick case for including this feature in node core: nodejs/node#8381 (comment). In the meantime, I'll take a closer look at generator-node to see if there's some way we can either a) respect proxy settings, or b) avoid this npm-name thing altogether. @matthewwiesen @animedbz16 thoughts? |
Been a while since I looked at this, but after reading through those issues, it seems to describe this issue here in better detail and does seem to be an upstream issue that is ultimately affecting trails via the dependency tree. I agree that the proxy environment is specific to the user's environment and that ultimately this should be something that is respected and preserved as many other executables do this such as NPM when we run 'npm install' that respect the proxy. I'll leave a comment upstream as well to provide my feedback and thoughts since ultimately this creates confusion downstream trying to debug things and causes inconsistency as many modules handle this differently. I agree that this should likely be handled directly within node core. |
Opening this up over here per https://github.com/trailsjs/generator-trails/issues/60#issuecomment-231368947
The text was updated successfully, but these errors were encountered: