Skip to content

Instantly share code, notes, and snippets.

@adborden
Created October 12, 2016 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adborden/766d7e61333d3dc0eb7e44970d40d788 to your computer and use it in GitHub Desktop.
Save adborden/766d7e61333d3dc0eb7e44970d40d788 to your computer and use it in GitHub Desktop.
cg-style `npm run watch` runs over itself
> cloudgov-style@1.4.2 gem-clone-https /home/adborden/projects/cg/cg-style
> npm run gem-clean && git clone --depth=1 https://github.com/18F/cg-style-gem.git ./gem
Receiving objects: 17% (24/136), 412.00 KiB | 117.00 KiB/s
> cloudgov-style@1.4.2 gem-clean /home/adborden/projects/cg/cg-style
> rm -rf ./gem
Receiving objects: 18% (25/136), 492.00 KiB | 121.00 KiB/s
> cloudgov-style@1.4.2 svg /home/adborden/projects/cg/cg-style
> gulp --gulpfile build/gulpfile.js svg-sprite
Cloning into './gem'... (26/136), 492.00 KiB | 121.00 KiB/s
Rendering Complete, saving .css file...
Wrote CSS to /home/adborden/projects/cg/cg-style/css/cloudgov-style.css
[13:07:22] Working directory changed to ~/projects/cg/cg-style/build
Receiving objects: 21% (29/136), 588.00 KiB | 127.00 KiB/s
> cloudgov-style@1.4.2 build-prefix /home/adborden/projects/cg/cg-style
> postcss --use autoprefixer css/cloudgov-style.css -o ./css/cloudgov-style.css
[13:07:22] Using gulpfile ~/projects/cg/cg-style/build/gulpfile.js
[13:07:22] Starting 'svg-sprite'...
[13:07:23] Finished 'svg-sprite' after 652 ms| 133.00 KiB/s
remote: Counting objects: 136, done.
remote: Compressing objects: 31% (37/119)
> cloudgov-style@1.4.2 build-css-components /home/adborden/projects/cg/cg-style
> gulp --gulpfile build/gulpfile.js build-components && node-sass ./src/css/base.scss ./css/base.css
> cloudgov-style@1.4.2 compile-css /home/adborden/projects/cg/cg-style
> cleancss ./css/cloudgov-style.css -o ./css/cloudgov-style-min.css
remote: Compressing objects: 100% (119/119), done.
[13:07:24] Working directory changed to ~/projects/cg/cg-style/build
[13:07:24] Using gulpfile ~/projects/cg/cg-style/build/gulpfile.js
[13:07:24] Starting 'build-components-dir'...
[13:07:24] Finished 'build-components-dir' after 9.37 ms
[13:07:24] Starting 'build-components'...
Error in plugin 'sass'% (41/136), 812.00 KiB | 145.00 KiB/s
Message:
../node_modules/uswds/src/stylesheets/core/_defaults.scss
Error: Undefined variable: "$helvetica".
on line 23 of ../node_modules/uswds/src/stylesheets/core/_defaults.scss
>> $font-sans: 'Source Sans Pro', $helvetica !default;
-----------------------------------------^
[13:07:24] Finished 'build-components' after 353 ms
Receiving objects: 31% (43/136), 924.00 KiB | 152.00 KiB/s
> cloudgov-style@1.4.2 build-js /home/adborden/projects/cg/cg-style
> mkdir -p ./js && browserify ./src/js/main.js -o ./js/cloudgov-style.js
Rendering Complete, saving .css file...
Wrote CSS to /home/adborden/projects/cg/cg-style/css/base.css
Receiving objects: 36% (49/136), 988.00 KiB | 153.00 KiB/s
> cloudgov-style@1.4.2 build-font /home/adborden/projects/cg/cg-style
> npm run copy-font
Receiving objects: 44% (60/136), 1.02 MiB | 146.00 KiB/s
> cloudgov-style@1.4.2 compile-js /home/adborden/projects/cg/cg-style
> uglifyjs ./js/cloudgov-style.js -o ./js/cloudgov-style-min.js
Receiving objects: 10% (14/136), 132.00 KiB | 75.00 KiB/s
> cloudgov-style@1.4.2 copy-font /home/adborden/projects/cg/cg-style
> mkdir -p ./fonts && cp node_modules/uswds/dist/fonts/* fonts/ && cp ./src/font/* ./fonts
Receiving objects: 67% (92/136), 1.07 MiB | 146.00 KiB/s
> cloudgov-style@1.4.2 build /home/adborden/projects/cg/cg-style
> npm run build-css && npm run build-css-components && npm run build-font && npm run build-img && npm run compile-css && npm run build-js && npm run compile-js && npm run gem
Receiving objects: 78% (107/136), 1.07 MiB | 146.00 KiB/s
> cloudgov-style@1.4.2 gem /home/adborden/projects/cg/cg-style
> npm run gem-clone-https && npm run gem-dirs && npm run gem-copy
> cloudgov-style@1.4.2 build-img /home/adborden/projects/cg/cg-style
> mkdir -p ./img && npm run copy-img && npm run svg
Receiving objects: 12% (17/136), 236.00 KiB | 84.00 KiB/s
> cloudgov-style@1.4.2 build-css /home/adborden/projects/cg/cg-style
> mkdir -p ./css && node-sass ./src/css/main.scss ./css/cloudgov-style.css && npm run build-prefix
> cloudgov-style@1.4.2 copy-img /home/adborden/projects/cg/cg-style
> cp -r node_modules/uswds/dist/img/* img/ && cp ./src/img/* ./img
Receiving objects: 13% (18/136), 236.00 KiB | 84.00 KiB/s
> cloudgov-style@1.4.2 gem-clone-https /home/adborden/projects/cg/cg-style
> npm run gem-clean && git clone --depth=1 https://github.com/18F/cg-style-gem.git ./gem
Rendering Complete, saving .css file... MiB | 137.00 KiB/s
Wrote CSS to /home/adborden/projects/cg/cg-style/css/cloudgov-style.css
Receiving objects: 14% (20/136), 308.00 KiB | 91.00 KiB/s
> cloudgov-style@1.4.2 gem-clean /home/adborden/projects/cg/cg-style
> rm -rf ./gem
Cloning into './gem'... (120/136), 1.17 MiB | 137.00 KiB/s
> cloudgov-style@1.4.2 svg /home/adborden/projects/cg/cg-style
> gulp --gulpfile build/gulpfile.js svg-sprite
[13:07:27] Working directory changed to ~/projects/cg/cg-style/build
> cloudgov-style@1.4.2 build-prefix /home/adborden/projects/cg/cg-style
> postcss --use autoprefixer css/cloudgov-style.css -o ./css/cloudgov-style.css
[13:07:28] Using gulpfile ~/projects/cg/cg-style/build/gulpfile.js
[13:07:28] Starting 'svg-sprite'...
remote: Total 136 (delta 16), reused 126 (delta 14), pack-reused 0
Receiving objects: 100% (136/136), 1.24 MiB | 114.00 KiB/s, done.
fatal: unable to open /home/adborden/projects/cg/cg-style/gem/.git/objects/pack/tmp_pack_yVFjip: No such file or directory
fatal: index-pack failed
npm ERR! Linux 4.2.0-42-generic
npm ERR! argv "/home/adborden/.nodenv/versions/6.6.0/bin/node" "/home/adborden/projects/cg/cg-style/node_modules/.bin/npm" "run" "gem-clone-https"
npm ERR! node v6.6.0
npm ERR! npm v2.15.11
npm ERR! code ELIFECYCLE
npm ERR! cloudgov-style@1.4.2 gem-clone-https: `npm run gem-clean && git clone --depth=1 https://github.com/18F/cg-style-gem.git ./gem`
npm ERR! Exit status 128
npm ERR! objects: 17% (24/136), 396.00 KiB | 94.00 KiB/s
npm ERR! Failed at the cloudgov-style@1.4.2 gem-clone-https script 'npm run gem-clean && git clone --depth=1 https://github.com/18F/cg-style-gem.git ./gem'.
npm ERR! This is most likely a problem with the cloudgov-style package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run gem-clean && git clone --depth=1 https://github.com/18F/cg-style-gem.git ./gem
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs cloudgov-style
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls cloudgov-style
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/adborden/projects/cg/cg-style/npm-debug.log
npm ERR! Linux 4.2.0-42-generic
npm ERR! argv "/home/adborden/.nodenv/versions/6.6.0/bin/node" "/home/adborden/projects/cg/cg-style/node_modules/.bin/npm" "run" "gem"
npm ERR! node v6.6.0
npm ERR! npm v2.15.11
npm ERR! code ELIFECYCLE
npm ERR! cloudgov-style@1.4.2 gem: `npm run gem-clone-https && npm run gem-dirs && npm run gem-copy`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the cloudgov-style@1.4.2 gem script 'npm run gem-clone-https && npm run gem-dirs && npm run gem-copy'.
npm ERR! This is most likely a problem with the cloudgov-style package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run gem-clone-https && npm run gem-dirs && npm run gem-copy
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs cloudgov-style
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls cloudgov-style
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/adborden/projects/cg/cg-style/npm-debug.log
npm ERR! Linux 4.2.0-42-generic
npm ERR! argv "/home/adborden/.nodenv/versions/6.6.0/bin/node" "/home/adborden/projects/cg/cg-style/node_modules/.bin/npm" "run" "build"
npm ERR! node v6.6.0
npm ERR! npm v2.15.11
npm ERR! code ELIFECYCLE
npm ERR! cloudgov-style@1.4.2 build: `npm run build-css && npm run build-css-components && npm run build-font && npm run build-img && npm run compile-css && npm run build-js && npm run compile-js && npm run gem`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the cloudgov-style@1.4.2 build script 'npm run build-css && npm run build-css-components && npm run build-font && npm run build-img && npm run compile-css && npm run build-js && npm run compile-js && npm run gem'.
npm ERR! This is most likely a problem with the cloudgov-style package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run build-css && npm run build-css-components && npm run build-font && npm run build-img && npm run compile-css && npm run build-js && npm run compile-js && npm run gem
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs cloudgov-style
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls cloudgov-style
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/adborden/projects/cg/cg-style/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment