react-docgen-markdown-renderer
react-docgen-markdown-renderer copied to clipboard
Babel conflicts module
While attempting to render my documentation I've come across the following error
Error: [BABEL] unknown: Preset /* your preset */ requires a filename to be set when babel is called directly
I cannot provide with much additional info, because upon research nothing has turned up, only that it's an error due to some conflict between the module and the babel configuration. Anyway, I'll attach the error log for reference
C:\Users\AlonsoMorenasDiaz\Desktop\ctica\my-app\node_modules\@babel\core\lib\config\full.js:197
throw e;
^
Error: [BABEL] unknown: Preset /* your preset */ requires a filename to be set when babel is called directly,
``
babel.transform(code, { filename: 'file.ts', presets: [/* your preset */] });
``
See https://babeljs.io/docs/en/options#filename for more information.
at validateIfOptionNeedsFilename (C:\Users\AlonsoMorenasDiaz\Desktop\ctica\my-app\node_modules\@babel\core\lib\config\full.js:295:11)
at C:\Users\AlonsoMorenasDiaz\Desktop\ctica\my-app\node_modules\@babel\core\lib\config\full.js:307:52
at Array.forEach (<anonymous>)
at validatePreset (C:\Users\AlonsoMorenasDiaz\Desktop\ctica\my-app\node_modules\@babel\core\lib\config\full.js:307:25)
at loadPresetDescriptor (C:\Users\AlonsoMorenasDiaz\Desktop\ctica\my-app\node_modules\@babel\core\lib\config\full.js:314:3)
at loadPresetDescriptor.next (<anonymous>)
at recursePresetDescriptors (C:\Users\AlonsoMorenasDiaz\Desktop\ctica\my-app\node_modules\@babel\core\lib\config\full.js:114:30)
at recursePresetDescriptors.next (<anonymous>)
at C:\Users\AlonsoMorenasDiaz\Desktop\ctica\my-app\node_modules\@babel\core\lib\config\full.js:191:21
at Generator.next (<anonymous>)
If you need additional info do not hesitate to ask