-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgraded to 0.7.1 and it broke #16
Comments
Hey, I renamed some stuff recently. Looks like a case sensitivity problem with the repo and git. What OS are you using? |
Just released v0.7.2 that should fix the issue. Would be great if you could verify. Sorry for the hassle. |
No prob, lemme try now. Mac OS Catalina. No need to apologize - I paid you nothing for it :) |
hmmm same problem; also get a similar error (I got this error before too): ERROR in /xxx/node_modules/storybook-design-token/dist/components/HardCodedValuesTable.js ERROR in /xxx/node_modules/storybook-design-token/dist/components/TokenOverview.js ERROR in /xxx/node_modules/storybook-design-token/dist/components/HardCodedValuesTable.js ERROR in /xxx/node_modules/storybook-design-token/dist/components/TokenOverview.js and a few more |
This is strange. The case sensitivity issue with directories |
Looks like the compile error is gone - thanks. I'm also getting this: any ideas? I followed the trace and got here: And my .scss file exists and has the proper annotations (it was working fine before). I'm wondering if it has anything to do with the typeof css !== string condition, since css was, for whatever reason, undefined? !css is part of the else condition, so maybe that guard needs to be updated? Though I'm still unsure why the contents are undefined because the file exists. |
If it helps, here is my preview.js: `import { addParameters } from "@storybook/react"; const scssReq = require.context("!!raw-loader!../shared", true, /..scss$/); addParameters({ and my scss file is in the shared folder and it's valid. |
Could you post the content of your __design-tokens.scss? |
I cut it down to this and it's still throwing the error: /**
$color-base-accents-blue: #0033a1; |
Sorry, still cannot reproduce. Could you provide a reproduction repo? Are you using a custom webpack config? Maybe something is interfering with the loader. |
@hermanc-fda I'm closing this for now. Please re-open if you think it's still broken. |
ERROR in /xxx/node_modules/storybook-design-token/dist/components/TokenOverview.js
Module not found: Error: [CaseSensitivePathsPlugin]
/xxx/node_modules/storybook-design-token/dist/components/presenter/TokenPresenter.js
does not match the corresponding path on diskPresenter
.@ /xxx/node_modules/storybook-design-token/dist/components/TokenOverview.js 15:23-60
And a few other similar errors. I'm going to downgrade back to 0.5.1 now.
The text was updated successfully, but these errors were encountered: