transformation/file/file is not found
See original GitHub issueDescribe the bug
Run yarn storybook
got the error that transformation/file/file is not found.
Seems to originate from the mdx loader onto the babel.
To Reproduce Add. storybook/addon-docs, and include the preset
Expected behavior No error when running
Screenshots If applicable, add screenshots to help explain your problem.
Code snippets If applicable, add code samples to help explain your problem. .storybook./main.js
module.exports = {
stories: ['../webapp/febuild/js/stories/**/*.stories.js'],
addons: ['@storybook/addon-actions', '@storybook/addon-links', '@storybook/addon-docs/preset'],
webpackFinal: async config => {
// do mutation to the config
return config;
},
};
System:
Please paste the results of npx -p @storybook/cli@next sb info
here.
Environment Info:
System:
OS: Linux 4.15 Ubuntu 16.04.5 LTS (Xenial Xerus)
CPU: (4) x64 Intel(R) Xeon(R) CPU @ 2.00GHz
Binaries:
Node: 12.18.0 - /usr/local/bin/node
Yarn: 1.12.3 - /usr/bin/yarn
npm: 6.14.5 - /usr/local/bin/npm
Browsers:
Chrome: 79.0.3945.130
npmPackages:
@storybook/addon-actions: ^5.3.19 => 5.3.19
@storybook/addon-docs: ^5.3.19 => 5.3.19
@storybook/addon-links: ^5.3.19 => 5.3.19
@storybook/addons: ^5.3.19 => 5.3.19
@storybook/react: ^5.3.19 => 5.3.19
Additional context
ERR! Require stack:
ERR! - /home/llesmancom/appfe/node_modules/@mdx-js/mdx/node_modules/@babel/core/lib/index.js
ERR! - /home/llesmancom/appfe/node_modules/@mdx-js/mdx/mdx-hast-to-jsx.js
ERR! - /home/llesmancom/appfe/node_modules/@storybook/addon-docs/dist/mdx/mdx-compiler-plugin.js
ERR! - /home/llesmancom/appfe/node_modules/@storybook/addon-docs/mdx-compiler-plugin.js
ERR! - /home/llesmancom/appfe/node_modules/@storybook/addon-docs/dist/frameworks/common/preset.js
ERR! - /home/llesmancom/appfe/node_modules/@storybook/addon-docs/dist/preset.js
ERR! - /home/llesmancom/appfe/node_modules/@storybook/addon-docs/preset.js
ERR! - /home/llesmancom/appfe/node_modules/@storybook/core/dist/server/presets.js
ERR! - /home/llesmancom/appfe/node_modules/@storybook/core/dist/server/config.js
ERR! - /home/llesmancom/appfe/node_modules/@storybook/core/dist/server/build-static.js
ERR! - /home/llesmancom/appfe/node_modules/@storybook/core/server.js
ERR! - /home/llesmancom/appfe/node_modules/@storybook/react/dist/server/index.js
ERR! - /home/llesmancom/appfe/node_modules/@storybook/react/bin/index.js
ERR! at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15)
ERR! at Function.Module._load (internal/modules/cjs/loader.js:842:27)
ERR! at Module.require (internal/modules/cjs/loader.js:1026:19)
ERR! at require (internal/modules/cjs/helpers.js:72:18)
ERR! at Object.<anonymous> (/home/llesmana_whova_com/appfe/node_modules/@mdx-js/mdx/node_modules/@babel/core/lib/index.js:177:36)
ERR! at Module._compile (internal/modules/cjs/loader.js:1138:30)
ERR! at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
ERR! at Module.load (internal/modules/cjs/loader.js:986:32)
ERR! at Function.Module._load (internal/modules/cjs/loader.js:879:14)
ERR! at Module.require (internal/modules/cjs/loader.js:1026:19)
ERR! at require (internal/modules/cjs/helpers.js:72:18)
ERR! at Object.<anonymous> (/home/llesmana_whova_com/appfe/node_modules/@mdx-js/mdx/mdx-hast-to-jsx.js:1:25)
ERR! at Module._compile (internal/modules/cjs/loader.js:1138:30)
ERR! at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
ERR! at Module.load (internal/modules/cjs/loader.js:986:32)
ERR! at Function.Module._load (internal/modules/cjs/loader.js:879:14)
ERR! Error: Cannot find module './transformation/file/file'
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Fixing Transformation file in Data Manager Package. Error
Transformation file does not exist [\FinanceEnv\SalesModel\DataManager\TransformationFiles\BPC Support\NationalData.xls].
Read more >Java Saxon 10.5 XSL 3 Transformation, href file not found
My XSLT sheet imports other XSLT sheets, using <xsl:import> (e.g. <xsl:import href="sheet1.xsl"/> ). All of the XSLT sheets are located inside .
Read more >bUnwarpj: error loading elastic transformation file
I'm running into an issue loading transformation files in bUnwarpJ on MacOS. I've run bUnwarpJ successfully, saving the transformation file ...
Read more >File Transformation not working - Visual Studio Feedback
Closed - Not a Bug ... File Transformation not working ... am facing a peculiar issue with the Azure Release Pipeline File Transform...
Read more >Java transformation not working correctly - Informatica Network
Hello all, I've a java transformation(in power center 10.1 version) to move files between folders. In workflow monitor i can see it is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Deleting
package-lock.json
/yarn.lock
and re-installing dependencies resolved this issue for me.I delete package-lock.json/yarn.lock and run yarn install --force.