Skip to content

Instantly share code, notes, and snippets.

@alexko30
Created July 13, 2018 21:14
Show Gist options
  • Save alexko30/f2e5635e0c90432cf00d1d419aef90fe to your computer and use it in GitHub Desktop.
Save alexko30/f2e5635e0c90432cf00d1d419aef90fe to your computer and use it in GitHub Desktop.
scirpt
./src/between.js → ./build/between.js...
[!] (babel plugin) Error: [BABEL] /Users/alexko/Desktop/dk/Projects/between.js/src/x.js: Invalid Option: 'last 2 versions,safari >= 7' is not a valid value for 'targets.browser'. (While processing: "/Users/alexko/Desktop/dk/Projects/between.js/node_modules/@babel/preset-env/lib/index.js")
src/between.js
Error: [BABEL] /Users/alexko/Desktop/dk/Projects/between.js/src/x.js: Invalid Option: 'last 2 versions,safari >= 7' is not a valid value for 'targets.browser'. (While processing: "/Users/alexko/Desktop/dk/Projects/between.js/node_modules/@babel/preset-env/lib/index.js")
at semverifyTarget (/Users/alexko/Desktop/dk/Projects/between.js/node_modules/@babel/preset-env/lib/targets-parser.js:148:11)
at __default (/Users/alexko/Desktop/dk/Projects/between.js/node_modules/@babel/preset-env/lib/targets-parser.js:154:92)
at Object.keys.filter.sort.reduce (/Users/alexko/Desktop/dk/Projects/between.js/node_modules/@babel/preset-env/lib/targets-parser.js:195:43)
at Array.reduce (<anonymous>)
at getTargets (/Users/alexko/Desktop/dk/Projects/between.js/node_modules/@babel/preset-env/lib/targets-parser.js:183:104)
at _default (/Users/alexko/Desktop/dk/Projects/between.js/node_modules/@babel/preset-env/lib/index.js:183:46)
at /Users/alexko/Desktop/dk/Projects/between.js/node_modules/@babel/helper-plugin-utils/lib/index.js:19:12
at loadDescriptor (/Users/alexko/Desktop/dk/Projects/between.js/node_modules/@babel/core/lib/config/full.js:157:14)
at cachedFunction (/Users/alexko/Desktop/dk/Projects/between.js/node_modules/@babel/core/lib/config/caching.js:32:19)
at loadPresetDescriptor (/Users/alexko/Desktop/dk/Projects/between.js/node_modules/@babel/core/lib/config/full.js:227:63)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `cross-env NODE_ENV=production rollup -c && gulp scss:build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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! /Users/alexko/.npm/_logs/2018-07-13T21_09_24_769Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment