[gatsby-theme-jodie] - Shadowing not working #631
Replies: 10 comments 7 replies
-
I am shadowing to the file src/@lekoarts/gatsby-theme-jodie/components/footer.tsx Why is it not working? Similar for all files |
Beta Was this translation helpful? Give feedback.
-
@vedantkarandikar any update? |
Beta Was this translation helpful? Give feedback.
-
I recreated the project and manually imported the folder from node_modules
and it works
…On Thu, 2 Sep 2021, 21:51 Giuseppe Piccinni, ***@***.***> wrote:
@vedantkarandikar <https://github.com/vedantkarandikar> any update?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#631 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKECPHPLQFFY7TZNNBJ72UDT76P7XANCNFSM5BAAEE6Q>
.
|
Beta Was this translation helpful? Give feedback.
-
Importing from Please give a reproduction of your problem, shadowing works for me. |
Beta Was this translation helpful? Give feedback.
-
To clarify, shadowing works for me as well.
I just copy pasted the files from node_modules, must've either butchered
the file structure or the names before
…On Fri, 3 Sep 2021, 11:52 Lennart, ***@***.***> wrote:
Importing from node_modules won't work in a CI environment, only locally.
Please give a reproduction of your problem, shadowing works for me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#631 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKECPHOQNIIX36QA3WV573DUABSSJANCNFSM5BAAEE6Q>
.
|
Beta Was this translation helpful? Give feedback.
-
Hey! Thanks for the awesome gatsby starter, @LekoArts! I'm having a similar issue with
where Only the shadowing for the Here's the exact code I'm running: https://github.com/loganmay/blog Please let me know if I can provide any more info, thanks! |
Beta Was this translation helpful? Give feedback.
-
I'm trying shadowing the projects.xml in src/@lekoarts/gatsby-theme-cara/sections, but it doesn't work =/ |
Beta Was this translation helpful? Give feedback.
-
@LekoArts
My system: Old MSI GT70 2PC Dominator Editor: VS Code |
Beta Was this translation helpful? Give feedback.
-
@vedantkarandikar if you want to shadow Do remember that you may need to restart the server and may have to clear the cache. @gusmontoya |
Beta Was this translation helpful? Give feedback.
-
For anyone still struggling with this, it's probable that your doing everything correctly for the shadowing but your just no seeing the actual changes reflected. As pointed out here (https://stackoverflow.com/questions/69848307/issues-with-gatsby-shadowing) Just run Was pretty frustrating going through this but cleaning the .cache folder did the trick for me. Hope it helps. |
Beta Was this translation helpful? Give feedback.
-
Description
Shadowing is not working for gatsby-theme-jodie
Steps to reproduce
Clear steps describing how to reproduce the issue. Please please please link to a demo project if possible, this makes your issue much easier to diagnose (seriously).
Expected result
Shadowed file should take precedence.
Actual result
Shadowing has no effect. Original theme file is getting used.
Environment
System:
OS: Linux 5.10 Manjaro Linux
CPU: (8) x64 AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
Shell: 5.8 - /usr/bin/zsh
Binaries:
Node: 16.3.0 - /usr/bin/node
Yarn: 1.22.10 - /usr/bin/yarn
npm: 7.16.0 - /usr/bin/npm
Languages:
Python: 3.9.5 - /usr/bin/python
Browsers:
Chrome: 91.0.4472.114
Firefox: 89.0.2
npmPackages:
gatsby: ^3.6.1 => 3.10.1
gatsby-omni-font-loader: ^1.3.1 => 1.3.1
gatsby-plugin-gatsby-cloud: ^2.6.1 => 2.10.0
gatsby-plugin-google-analytics: ^3.6.0 => 3.10.0
gatsby-plugin-manifest: ^3.6.0 => 3.10.0
gatsby-plugin-netlify: ^3.6.1 => 3.10.0
gatsby-plugin-offline: ^4.6.0 => 4.10.0
gatsby-plugin-sitemap: ^4.2.0 => 4.6.0
gatsby-plugin-webpack-bundle-analyser-v2: ^1.1.22 => 1.1.24
npmGlobalPackages:
gatsby-cli: 3.10.0
Beta Was this translation helpful? Give feedback.
All reactions