Last active
December 20, 2017 09:01
-
-
Save colebemis/81ac9cc4546e006a36bd48065ca24bf8 to your computer and use it in GitHub Desktop.
Error setting up polished
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ npm install | |
> fsevents@1.1.3 install /Volumes/Mozart/Users/colebemis/Documents/projects/polished/node_modules/fsevents | |
> node install | |
[fsevents] Success: "/Volumes/Mozart/Users/colebemis/Documents/projects/polished/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" already installed | |
Pass --update-binary to reinstall or --build-from-source to recompile | |
> husky@0.14.3 install /Volumes/Mozart/Users/colebemis/Documents/projects/polished/node_modules/husky | |
> node ./bin/install.js | |
husky | |
setting up Git hooks | |
done | |
> nodemon@1.13.3 postinstall /Volumes/Mozart/Users/colebemis/Documents/projects/polished/node_modules/nodemon | |
> node -e "console.log('\u001b[32mLove nodemon? You can now support the project via the open collective:\u001b[22m\u001b[39m\n > \u001b[96m\u001b[1mhttps://opencollective.com/nodemon/donate\u001b[0m\n')" | |
Love nodemon? You can now support the project via the open collective: | |
> https://opencollective.com/nodemon/donate | |
npm WARN prepublish-on-install As of npm@5, `prepublish` scripts are deprecated. | |
npm WARN prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only. | |
npm WARN prepublish-on-install See the deprecation note in `npm help scripts` for more information. | |
> polished@ prepublish /Volumes/Mozart/Users/colebemis/Documents/projects/polished | |
> npm run build && npm run typescript | |
> polished@ build /Volumes/Mozart/Users/colebemis/Documents/projects/polished | |
> npm run build:lib && npm run build:dist && npm run build:flow && npm run build:docs && npm run build:typescript | |
> polished@ prebuild:lib /Volumes/Mozart/Users/colebemis/Documents/projects/polished | |
> shx rm -rf lib/* | |
> polished@ build:lib /Volumes/Mozart/Users/colebemis/Documents/projects/polished | |
> babel --out-dir lib src --ignore test.js | |
src/color/adjustHue.js -> lib/color/adjustHue.js | |
src/color/complement.js -> lib/color/complement.js | |
src/color/darken.js -> lib/color/darken.js | |
src/color/desaturate.js -> lib/color/desaturate.js | |
src/color/getLuminance.js -> lib/color/getLuminance.js | |
src/color/grayscale.js -> lib/color/grayscale.js | |
src/color/hsl.js -> lib/color/hsl.js | |
src/color/hsla.js -> lib/color/hsla.js | |
src/color/invert.js -> lib/color/invert.js | |
src/color/lighten.js -> lib/color/lighten.js | |
src/color/mix.js -> lib/color/mix.js | |
src/color/opacify.js -> lib/color/opacify.js | |
src/color/parseToHsl.js -> lib/color/parseToHsl.js | |
src/color/parseToRgb.js -> lib/color/parseToRgb.js | |
src/color/readableColor.js -> lib/color/readableColor.js | |
src/color/rgb.js -> lib/color/rgb.js | |
src/color/rgba.js -> lib/color/rgba.js | |
src/color/saturate.js -> lib/color/saturate.js | |
src/color/setHue.js -> lib/color/setHue.js | |
src/color/setLightness.js -> lib/color/setLightness.js | |
src/color/setSaturation.js -> lib/color/setSaturation.js | |
src/color/shade.js -> lib/color/shade.js | |
src/color/tint.js -> lib/color/tint.js | |
src/color/toColorString.js -> lib/color/toColorString.js | |
src/color/transparentize.js -> lib/color/transparentize.js | |
src/helpers/directionalProperty.js -> lib/helpers/directionalProperty.js | |
src/helpers/em.js -> lib/helpers/em.js | |
src/helpers/modularScale.js -> lib/helpers/modularScale.js | |
src/helpers/rem.js -> lib/helpers/rem.js | |
src/helpers/stripUnit.js -> lib/helpers/stripUnit.js | |
src/index.js -> lib/index.js | |
src/internalHelpers/_capitalizeString.js -> lib/internalHelpers/_capitalizeString.js | |
src/internalHelpers/_curry.js -> lib/internalHelpers/_curry.js | |
src/internalHelpers/_endsWith.js -> lib/internalHelpers/_endsWith.js | |
src/internalHelpers/_guard.js -> lib/internalHelpers/_guard.js | |
src/internalHelpers/_hslToHex.js -> lib/internalHelpers/_hslToHex.js | |
src/internalHelpers/_hslToRgb.js -> lib/internalHelpers/_hslToRgb.js | |
src/internalHelpers/_nameToHex.js -> lib/internalHelpers/_nameToHex.js | |
src/internalHelpers/_numberToHex.js -> lib/internalHelpers/_numberToHex.js | |
src/internalHelpers/_pxto.js -> lib/internalHelpers/_pxto.js | |
src/internalHelpers/_reduceHexValue.js -> lib/internalHelpers/_reduceHexValue.js | |
src/internalHelpers/_rgbToHsl.js -> lib/internalHelpers/_rgbToHsl.js | |
src/internalHelpers/_statefulSelectors.js -> lib/internalHelpers/_statefulSelectors.js | |
src/mixins/clearFix.js -> lib/mixins/clearFix.js | |
src/mixins/ellipsis.js -> lib/mixins/ellipsis.js | |
src/mixins/fontFace.js -> lib/mixins/fontFace.js | |
src/mixins/hiDPI.js -> lib/mixins/hiDPI.js | |
src/mixins/hideText.js -> lib/mixins/hideText.js | |
src/mixins/hideVisually.js -> lib/mixins/hideVisually.js | |
src/mixins/normalize.js -> lib/mixins/normalize.js | |
src/mixins/placeholder.js -> lib/mixins/placeholder.js | |
src/mixins/radialGradient.js -> lib/mixins/radialGradient.js | |
src/mixins/retinaImage.js -> lib/mixins/retinaImage.js | |
src/mixins/selection.js -> lib/mixins/selection.js | |
src/mixins/timingFunctions.js -> lib/mixins/timingFunctions.js | |
src/mixins/triangle.js -> lib/mixins/triangle.js | |
src/mixins/wordWrap.js -> lib/mixins/wordWrap.js | |
src/shorthands/animation.js -> lib/shorthands/animation.js | |
src/shorthands/backgroundImages.js -> lib/shorthands/backgroundImages.js | |
src/shorthands/backgrounds.js -> lib/shorthands/backgrounds.js | |
src/shorthands/borderColor.js -> lib/shorthands/borderColor.js | |
src/shorthands/borderRadius.js -> lib/shorthands/borderRadius.js | |
src/shorthands/borderStyle.js -> lib/shorthands/borderStyle.js | |
src/shorthands/borderWidth.js -> lib/shorthands/borderWidth.js | |
src/shorthands/buttons.js -> lib/shorthands/buttons.js | |
src/shorthands/margin.js -> lib/shorthands/margin.js | |
src/shorthands/padding.js -> lib/shorthands/padding.js | |
src/shorthands/position.js -> lib/shorthands/position.js | |
src/shorthands/size.js -> lib/shorthands/size.js | |
src/shorthands/textInputs.js -> lib/shorthands/textInputs.js | |
src/shorthands/transitions.js -> lib/shorthands/transitions.js | |
src/types/color.js -> lib/types/color.js | |
src/types/interactionState.js -> lib/types/interactionState.js | |
src/types/modularScaleRatio.js -> lib/types/modularScaleRatio.js | |
> polished@ prebuild:dist /Volumes/Mozart/Users/colebemis/Documents/projects/polished | |
> shx rm -rf dist/* | |
> polished@ build:dist /Volumes/Mozart/Users/colebemis/Documents/projects/polished | |
> rollup -c && rollup -c --environment PRODUCTION | |
Creating development bundle... | |
src/index.js → dist/polished.js, dist/polished.es.js... | |
[!] (commonjs plugin) SyntaxError: Unexpected token (252:24) in /Volumes/Mozart/Users/colebemis/Documents/projects/polished/src/mixins/normalize.js | |
src/mixins/normalize.js (252:24) | |
SyntaxError: Unexpected token (252:24) in /Volumes/Mozart/Users/colebemis/Documents/projects/polished/src/mixins/normalize.js | |
at error (/Volumes/Mozart/Users/colebemis/Documents/projects/polished/node_modules/rollup/dist/rollup.js:185:14) | |
at Promise.resolve.then.catch.err (/Volumes/Mozart/Users/colebemis/Documents/projects/polished/node_modules/rollup/dist/rollup.js:9510:6) | |
at <anonymous> | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! polished@ build:dist: `rollup -c && rollup -c --environment PRODUCTION` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the polished@ build:dist script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /Volumes/Mozart/Users/colebemis/.npm/_logs/2017-12-20T08_57_03_137Z-debug.log | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! polished@ build: `npm run build:lib && npm run build:dist && npm run build:flow && npm run build:docs && npm run build:typescript` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the polished@ build script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /Volumes/Mozart/Users/colebemis/.npm/_logs/2017-12-20T08_57_03_149Z-debug.log | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! polished@ prepublish: `npm run build && npm run typescript` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the polished@ prepublish script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /Volumes/Mozart/Users/colebemis/.npm/_logs/2017-12-20T08_57_03_229Z-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment