Trying to link vs studio to ghost site

Hi,

I managed to install ghost locally, and have opened the theme in vs code. However, the two don’t appear to be linked. When I change the code in vs code, the live site appears unaffected.

There’s also an error code regarding node dependencies:

Command failed: npm i --package-lock-only --prefix c:/Users/User/new-ghost-driectory/versions/5.109.5/content/themes/source npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: source@1.4.1 npm error Found: postcss@8.2.13 npm error node_modules/postcss npm error dev postcss@“8.2.13” from the root project npm error npm error Could not resolve dependency: npm error peer postcss@“^8.2.15” from cssnano@5.1.12 npm error node_modules/cssnano npm error dev cssnano@“5.1.12” from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error npm error npm error For a full report see: npm error C:\Users\User\AppData\Local\npm-cache_logs\2025-02-16T19_48_15_674Z-eresolve-report.txt npm error A complete log of this run can be found in: C:\Users\User\AppData\Local\np…

could this be preventing the changes? I tried reinstalling node but same message. Any ideas how to solve?

Many thanks,

D

Can you say a little bit more about how you have things set up? Did you npm init in the folder with the theme? Are you running the build step?

It can be “unaffected” only in a case if you don’t restart your blog after making changes.

Did you run this?

ghost restart