Closed kyle-hall closed 8 years ago
@sindresorhus I'll get those comments fixed up. Thanks for looking at the PR
@sindresorhus Suggested fixes have been made. Looks good in the preview.
Actually, I'm not about this. Setting NODE_PATH is a pretty bad practice.
@SBoudrias Why do we require this again?
@sindresorhus Could you explain why setting NODE_PATH is a bad practice?
Why do we require this again?
We don't require it.
Yeoman supports it because some people rely on it. That being said, misconfigured NODE_PATH is the main source of issues with people not finding generators on their computer.
@SBoudrias Okay, I was basing this on the error message from the global yo install. I thought the error meant it was required. Thanks for clarifying.
I had to add this to the NODE_PATH to finish the process. Before I did, I got an error telling me my NODE_PATH and npm root were different and to make this change to fix that. It was the global installation of yo that gave this error message.