<div id="geary-body" dir="auto"><div><br></div></div><div id="geary-quote" dir="auto"><br>On Sun, Oct 6, 2019 at 15:18, Pirate Praveen <praveen@onenetbeyond.org> wrote:<br><blockquote type="cite"><div class="plaintext" style="white-space: pre-wrap;">On Fri, 04 Oct 2019 11:27:58 +0530 Pirate Praveen
<<a href="mailto:praveen@onenetbeyond.org">praveen@onenetbeyond.org</a>> wrote:
<blockquote> 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.
</blockquote>
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
<a href="http://babeljs.io/docs/usage/options/">http://babeljs.io/docs/usage/options/</a> 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
<a href="http://babeljs.io/docs/plugins/#pluginpresets-options">http://babeljs.io/docs/plugins/#pluginpresets-options</a>.
    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 <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929829#27">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929829#27</a>
rollup-plugin-babel needs update 3.0.3 => 4.3.2<br></div></blockquote><span style="white-space: pre-wrap;"><br></span><div><span style="white-space: pre-wrap;">This won't work for us as rollup-plugin-babel 4 will need babel 7 anyway. And the error is coming from gulp-babel I think. We will have to adapt the Gulpfile.js to work with gulp-babel 7.</span></div><div><span style="white-space: pre-wrap;"><br></span></div><div><span style="white-space: pre-wrap;">Evgeny, can you help here. I tried a bit but I'm not very good at writing JS code.</span></div></div>