uswds / uswds-gulp

A simple Gulp 4.0 workflow for transforming USWDS Sass into browser-readable CSS.
Other
35 stars 17 forks source link

Apparent syntax error in npm install command from README #19

Closed vz3 closed 4 years ago

vz3 commented 4 years ago

Per README, attempted to run: npm install autoprefixer gulp@^4.0.2 gulp-replace sass gulp-sass gulp-sourcemaps gulp-postcss postcss-csso uswds@latest uswds-gulp@github:uswds/uswds-gulp --save-dev

Received error zsh: no matches found: gulp@^4.0.2

I attempted again removing the caret and it appeared to run successfully.

thisisdano commented 4 years ago

Huh! I can't replicate the error locally — and I don't think it's related to the package syntax in npm but I'll remove the caret. I wonder if it's something in your zsh setup where the caret is assigned some special functionality?

thisisdano commented 4 years ago

Also hi vz!

mejiaj commented 4 years ago

Yes, it seems to be a ZSH thing. I've noticed it with other NPM commands as well (like setting a specific git branch).

Putting it in works (if you're using ZSH)"gulp@^4.0.2".

thisisdano commented 4 years ago

Fixed in https://github.com/uswds/uswds-gulp/pull/20