[Loris-dev] Error Webpack installing v22.0.0
Morales Pinzon, Alfredo
AMORALESPINZON at BWH.HARVARD.EDU
Tue Jan 12 15:28:09 EST 2021
Hi Laetitia,
I just executed the steps you suggested and I’m getting the same error (see logs below).
Regards,
Alfredo.
===
lorisadmin at ipmsa-loris:/var/www/loris$ npm install
> sweetalert2 at 8.18.6 postinstall /var/www/loris/node_modules/sweetalert2
> node bin/postinstall.js
Has SweetAlert2 helped you create amazing applications?
You can show your <3 and support by making a donation:
> https://sweetalert2.github.io/#donations
Also, the author of SweetAlert2 (@limonte) is looking for
short-term working contracts in front-end, preferably OSS.
> https://github.com/limonte
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents at 1.2.9 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents at 1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 753 packages from 390 contributors and audited 821 packages in 13.253s
found 495 vulnerabilities (487 low, 4 moderate, 4 high)
run `npm audit fix` to fix them, or `npm audit` for details
===
===
lorisadmin at ipmsa-loris:/var/www/loris$ npm run compile
> loris at 1.0.0 compile /var/www/loris
> webpack
Hash: ef2e2aa8abafb645b741
Version: webpack 4.41.2
Child
Hash: ef2e2aa8abafb645b741
Time: 4714ms
Built at: 01/12/2021 3:19:49 PM
106 assets
Entrypoint ./htdocs/js/components/DynamicDataTable.js = ./htdocs/js/components/DynamicDataTable.js ./htdocs/js/components/DynamicDataTable.js.map
Entrypoint ./htdocs/js/components/PaginationLinks.js = ./htdocs/js/components/PaginationLinks.js ./htdocs/js/components/PaginationLinks.js.map
Entrypoint ./htdocs/js/components/StaticDataTable.js = ./htdocs/js/components/StaticDataTable.js ./htdocs/js/components/StaticDataTable.js.map
. . .
. . .
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)
ERROR in ./jsx/Form.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:60:18)
at Object.<anonymous> (/var/www/loris/node_modules/babel-loader/lib/index.js:55:12)
===
On Jan 12, 2021, at 3:02 PM, Laetitia Fesselier <laetitia.fesselier at mcin.ca<mailto:laetitia.fesselier at mcin.ca>> wrote:
External Email - Use Caution
Hello Alfredo,
I suggest you try the following:
- delete the node_modules folder:
rm -R node_modules
- reinstall all the node libraries
npm install
- compile
npm run compile
Let us know if you need further assistance.
Regards,
Laetitia
On Mon, Jan 11, 2021 at 4:59 PM Morales Pinzon, Alfredo <AMORALESPINZON at bwh.harvard.edu<mailto:AMORALESPINZON at bwh.harvard.edu>> wrote:
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<https://secure-web.cisco.com/1SSH4uqiuJHT-UVqHwz-N8IgyLsRk6rvpSWeWqP2mJECaqxJOPA_lAtpkCkV9bWUhLgSahRDdXUQGlZCU34upAUTKPpXCiuKL87arvZa4OWdEDumnzmXAcdjK84oAaM7MPlRun_qYsscygLhlSmObgUgAKRZyQit50p0ONHRQxMbsUNZr33fTSfTuiPOtsitA89Y_so050QWngkEWXHDhxubiLECvowyZjjKRsfY0rxd3HbPHBgA1WhxeJ4sfE2pNLlrnMWsaGvaKJZ77lyKGTg/https%3A%2F%2Fgithub.com%2Faces%2FLoris%2Freleases%2Ftag%2Fv22.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<http://secure-web.cisco.com/1UgKxfxfqVEb2pxj0wpjsr-mjzwjXHcVu8WEPqcuTNHlDk05uvLRnuKzxSEy2oUI8p9Bv7_HznfeRBaWuvx7MiUPNlhPSs6TX6Ks36YFH0xH7zfvNYU56bRAhhXuo1VH6uThbuVPOKxTqE3LFxE60n7Bj745qhUwGKNg9tGcKvupDp_43s6GVEtnrCTIcY3VhvHrmaBXYxa-B7RsvIpEU57mbaztKe6m1wnkIfx9RYPm7mP0TNkwaIqbLgsdKkwZBJLQCNnBHTCsdhaUvLmp3zw/http%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline> . 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.
_______________________________________________
Loris-dev mailing list
Loris-dev at bic.mni.mcgill.ca<mailto:Loris-dev at bic.mni.mcgill.ca>
https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev<https://secure-web.cisco.com/1F3ahQGnzTMZw4HFjuJmq9n5oB3iBLpeHB1ahF0I4X5fSAHw5aWSej6kqLAIN2P8KuRtj1P-O4-OdT-L89mJ7mssI8xqXwhS7CbZNwGxr8hLrASiGjbGrTajJUY50k-Lx8O6sMvFvq0clf7PkhMJIuxkp0Qmdx-jBILyloK0Nnr_u5tzew-czV_Gj7QMRD0E8NZM3CCIbFIUEVyiN9cLQAUonHAlOVeueH-XYoeak0yKNkFGh6gUaQRgw572Rgx08jqEb-25qQ3pZgDJksQJCbw/https%3A%2F%2Fmailman.bic.mni.mcgill.ca%2Fmailman%2Flistinfo%2Floris-dev>
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/20210112/e34cafc0/attachment-0001.html>
More information about the Loris-dev
mailing list