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

Remove "preferGlobal": true, #114

Closed
wants to merge 1 commit into from
Closed

Conversation

javdl
Copy link

@javdl javdl commented Jan 11, 2016

When installing with --save, "preferGlobal": true, should not be there. NPM will give a warning when using this.

When installing with --save, "preferGlobal": true, should not be there. NPM will give a warning when using this.
@addyosmani addyosmani self-assigned this Jan 15, 2016
@addyosmani
Copy link
Owner

I'm personally fine with the warning given this includes the CLI and we expect people to use it globally too. Happy to take @bezoerb's thoughts on this on board.

@bezoerb
Copy link
Collaborator

bezoerb commented Jan 16, 2016

I'm also totally fine with the warning as this should be installed globally when used on the command line.
Maybe we should also change the CLI part in the readme and add some npm install -g critical

@javdl
Copy link
Author

javdl commented Jan 18, 2016

I agree with @bezoerb since the install instructions now state npm install --save critical without -g.
So in case you want to keep preferglobal, I think it should be added in the readme.

@bezoerb
Copy link
Collaborator

bezoerb commented Jan 18, 2016

2a11930

@bezoerb
Copy link
Collaborator

bezoerb commented Jan 18, 2016

Added global install instructions to the CLI section in the readme

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

Successfully merging this pull request may close these issues.

None yet

3 participants