Closed
Description
lingui 2.0.4, babel 7.0.0-beta.40
> lingui extract --clean
Extracting messages from source files…
/code/App/node_modules/@babel/core/lib/config/config-descriptors.js:158
throw new Error("Plugin/Preset files are not allowed to export objects, only functions.");
^
Error: Plugin/Preset files are not allowed to export objects, only functions.
at createDescriptor (/code/App/node_modules/@babel/core/lib/config/config-descriptors.js:158:11)
at /code/App/node_modules/@babel/core/lib/config/config-descriptors.js:101:12
at Array.map (<anonymous>)
at createDescriptors (/code/App/node_modules/@babel/core/lib/config/config-descriptors.js:100:27)
at createPresetDescriptors (/code/App/node_modules/@babel/core/lib/config/config-descriptors.js:92:10)
at /code/App/node_modules/@babel/core/lib/config/config-descriptors.js:64:19
at presets (/code/App/node_modules/@babel/core/lib/config/config-descriptors.js:54:25)
at mergeChainOpts (/code/App/node_modules/@babel/core/lib/config/config-chain.js:294:68)
at /code/App/node_modules/@babel/core/lib/config/config-chain.js:247:7
at buildRootChain (/code/App/node_modules/@babel/core/lib/config/config-chain.js:83:20)
There's a closed issue mentioning something like this: #163
The difference is that I actually updated to 2.0.4 from 2.0.0 and got this error (while the author of issue#163 had an opposite situation - he was getting this on 2.0.2 and it was "fixed" and updated to 2.0.4)
Any ideas how to fix that?
Metadata
Metadata
Assignees
Labels
No labels