Surprisingly, installing each modules individually works. @babel/core, @babel/register, @babel/preset-env and @babel/plugin-transform-modules-commonjs
Thanks. Em segunda-feira, 3 de agosto de 2020 às 18:34:42 UTC-3, [email protected] escreveu: > > Hi folks, after installing node-gyp and attempt to build the hello-wordl > addon, I wrote a test for it using mocha chai sinon with ES7 syntax. This > means that I use import/export and need to use babel. > > After attempt to install @babel/register I'm getting the error on inotify > package issuing that node-gyp rebuild failed on make with status 2. > > [image: node-gyp on inotify.png] > > > <https://camo.githubusercontent.com/ed83daf033c479b412ada103644c87bcf3c9e42e/68747470733a2f2f696d6775722e636f6d2f65656c30755167> > > Before open an issue on inotify repo, that was solved on #69 > <https://github.com/c4milo/node-inotify/issues/69> I'm questioning either > if the failed process of attempt to build an addon or failed cause node-gyp > was installed. > > > There's no ~/.node-gyp folder. > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/f56ab16e-0198-43da-bd0d-e8897969ffbfn%40googlegroups.com.
