[Pkg-javascript-devel] Bug#941700: Bug#941700: Update babel to version 7

Pirate Praveen praveen at onenetbeyond.org
Sun Oct 6 10:48:36 BST 2019


On Fri, 04 Oct 2019 11:27:58 +0530 Pirate Praveen
<praveen at onenetbeyond.org> wrote:
> We already started the update work, but since it needs gulp 4, we are stuck (we are not able to fix gulp 4 errors). Alternatively we could try to skip gulp.

With gulp 4.0.2-3,

gulp build
[14:53:55] Local gulp not found in ~/forge/debian/git/js-team/node-babel
[14:53:55] Try running: npm install gulp
[14:53:55] Using globally installed gulp
[14:53:55] Using gulpfile ~/forge/debian/git/js-team/node-babel/Gulpfile.js
[14:53:55] Starting 'build'...
[14:53:55] Starting 'build-rollup'...
[14:53:55] Starting 'build-babel'...
[14:53:55] Compiling 'packages/babel-parser/src/index.js' with rollup ...
[14:53:55] 'build-rollup' errored after 42 ms
[14:53:55] ReferenceError: [BABEL]
/home/pravi/forge/debian/git/js-team/node-babel/packages/babel-parser/src/x.js:
Unknown option: base.envName. Check out
http://babeljs.io/docs/usage/options/ for more information about options.

A common cause of this error is the presence of a configuration options
object without the corresponding preset name. Example:

Invalid:
  `{ presets: [{option: value}] }`
Valid:
  `{ presets: [['presetName', {option: value}]] }`

For more detailed information on preset configuration, please see
http://babeljs.io/docs/plugins/#pluginpresets-options.
    at Object.error [as default]
(/usr/share/nodejs/rollup/src/utils/error.js:10:15)
    at Object.error (/usr/share/nodejs/rollup/src/utils/transform.js:59:36)
    at /usr/share/nodejs/rollup/src/utils/transform.js:68:29
    at process._tickCallback (internal/process/next_tick.js:68:7)
[14:53:55] 'build' errored after 45 ms
[14:53:55] The following tasks did not complete: build-babel
[14:53:55] Did you forget to signal async completion?
make[3]: *** [Makefile:13: build] Error 1
make[3]: Leaving directory '/home/pravi/forge/debian/git/js-team/node-babel'


As per https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929829#27
rollup-plugin-babel needs update 3.0.3 => 4.3.2



More information about the Pkg-javascript-devel mailing list