Not compile new theme package

Compilation does not work when creating my theme. I strictly follow the points in the documentation. When trying to change the index file.js in packages/my-theme/src/index.js - changes do not appear

System:

  • OS: macOS 13.0
  • CPU: (8) arm64 Apple M1
  • Memory: 1.08 GB / 16.00 GB
  • Shell: 5.8.1 - /bin/zsh

Binaries:

  • Node: 16.14.2 - /usr/local/bin/node
  • npm: 9.3.0 - /usr/local/bin/npm

Browsers:

  • Chrome: 108.0.5359.124
  • Edge: Not Found
  • Firefox: Not Found
  • Safari: 16.1

npmPackages:

  • @frontity/core: ^1.16.0 => 1.16.0
  • @frontity/html2react: ^1.7.0 => 1.7.0
  • @frontity/mars-theme: ./packages/mars-theme => 1.6.2
  • @frontity/tiny-router: ^1.4.4 => 1.4.4
  • @frontity/wp-source: ^1.11.7 => 1.11.7
  • frontity: ^1.17.2 => 1.17.2
  • sgt-theme: file:packages/sgt-theme => 1.0.0

npmGlobalPackages:

  • frontity: Not Found
  • npx: Not Found

Hi @andrash,

I am not really sure what you mean here. Cna you show us the errors you are getting when trying to compile? Are you trying to only run dev server or are you making a production build?

Hi! i’m run dev server

Please show us what your terminal is returning as an error. I need more info in order to be able to help you.

Так ошибки в терминале нет… Просто не компилируется новая тема (изменения в index.js не применяются).
There are no errors in the terminal… The new theme is not compiled (changes in index.js does not apply).


В самом index.js - правлю этот код:
I’m trying edit this is code in index.js

const Root = () => {
  return (
    <>
      You can edit your package in:
      <pre>packages/sgt-theme/src/index.js</pre>
    </>
  );
};

Но изменения не вступают в силу.
But the changes are not applied.

Meticulously review the theme’s documentation for specific compilation instructions, including necessary commands and potential configurations.

Regard,
Scarlet App