[Loris-dev] Error Webpack installing v22.0.0

Morales Pinzon, Alfredo AMORALESPINZON at BWH.HARVARD.EDU
Mon Jan 11 16:59:19 EST 2021


Dear LorisDev Team,

I am upgrading Loris from v21.0.0 to v22.0.0 (https://github.com/aces/Loris/releases/tag/v22.0.0). After installation of node v10.13.0 and npm 6.4.1, and getting the corresponding source code, I am getting the following error when executing “make all”:

===
ERROR in ./jsx/DynamicDataTable.js
    Module build failed (from ./node_modules/babel-loader/lib/index.js):
    Error: Cannot find module 'babel-plugin-transform-object-rest-spread' from '/var/www/loris'
        at Function.module.exports [as sync] (/var/www/loris/node_modules/resolve/lib/sync.js:74:15)
        at resolveStandardizedName (/var/www/loris/node_modules/@babel/core/lib/config/files/plugins.js:101:31)
        at resolvePlugin (/var/www/loris/node_modules/@babel/core/lib/config/files/plugins.js:54:10)
        at loadPlugin (/var/www/loris/node_modules/@babel/core/lib/config/files/plugins.js:62:20)
        at createDescriptor (/var/www/loris/node_modules/@babel/core/lib/config/config-descriptors.js:154:9)
        at items.map (/var/www/loris/node_modules/@babel/core/lib/config/config-descriptors.js:109:50)
        at Array.map (<anonymous>)
        at createDescriptors (/var/www/loris/node_modules/@babel/core/lib/config/config-descriptors.js:109:29)
        at createPluginDescriptors (/var/www/loris/node_modules/@babel/core/lib/config/config-descriptors.js:105:10)
        at plugins (/var/www/loris/node_modules/@babel/core/lib/config/config-descriptors.js:40:19)
        at mergeChainOpts (/var/www/loris/node_modules/@babel/core/lib/config/config-chain.js:319:26)
        at /var/www/loris/node_modules/@babel/core/lib/config/config-chain.js:283:7
        at buildRootChain (/var/www/loris/node_modules/@babel/core/lib/config/config-chain.js:120:22)
        at loadPrivatePartialConfig (/var/www/loris/node_modules/@babel/core/lib/config/partial.js:85:55)
        at Object.loadPartialConfig (/var/www/loris/node_modules/@babel/core/lib/config/partial.js:110:18)
        at Object.<anonymous> (/var/www/loris/node_modules/babel-loader/lib/index.js:144:26)
        at Generator.next (<anonymous>)
        at asyncGeneratorStep (/var/www/loris/node_modules/babel-loader/lib/index.js:3:103)
        at _next (/var/www/loris/node_modules/babel-loader/lib/index.js:5:194)
        at /var/www/loris/node_modules/babel-loader/lib/index.js:5:364
        at new Promise (<anonymous>)
        at Object.<anonymous> (/var/www/loris/node_modules/babel-loader/lib/index.js:5:97)
        at Object._loader (/var/www/loris/node_modules/babel-loader/lib/index.js:224:18)
        at Object.loader (/var/www/loris/node_modules/babel-loader/lib/index.js:60:18)
        at Object.<anonymous> (/var/www/loris/node_modules/babel-loader/lib/index.js:55:12)
===

I am running Ubuntu Xenial 16.04.4

I also tried using node v14.15.4 but got the same error.

Do you have suggestions on how to solve this?

Regards,
Alfredo.
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at http://www.massgeneralbrigham.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20210111/8d4e759d/attachment-0001.html>


More information about the Loris-dev mailing list