Error while setting up the stand-alone FreeSewing development environment

Hi,

I just tried setting up the stand-alone FreeSewing development environment using this guide: Setting up the FreeSewing development environment | FreeSewing.

Some time ago, I tried the same and it worked. Now I wanted to try again and it doesn’t work anymore.

Disclaimer: I’m not a developer, so there’s a good chance the issue is on my end.

My system:

  • hw.model: Mac16,10
  • sw.vers: macOS 15.5
  • node -v, Versions I tried: v24.4.1, v22.17.1, lts/iron
  • npm -v: 11.4.2

What happened:

  1. npx @freesewing/studio → worked
  2. npm run start → Error
> studio@0.0.0 prestart
> node ./scripts/prebuild.mjs


> studio@0.0.0 start
> docusaurus start

[INFO] Starting the development server...
[SUCCESS] Docusaurus website is running at: http://localhost:3000/

✖ Client
  Compiled with some errors in 10.06s

/*! 🌼 daisyUI 5.0.47 */
Module not found: Error: Can't resolve '@freesewing/sabrina' in '/Users/.../testing/node_modules/@freesewing/collection/src'

--------------------------

Module not found: Error: Can't resolve '@freesewing/sabrina' in '/Users/.../testing/node_modules/@freesewing/collection/src'
client (webpack 5.100.2) compiled with 2 errors

✖ Client
  Compiled with some errors in 322.48ms

Module not found: Error: Can't resolve '@freesewing/sabrina' in '/Users/.../testing/node_modules/@freesewing/collection/src'

--------------------------

Module not found: Error: Can't resolve '@freesewing/sabrina' in '/Users/.../testing/node_modules/@freesewing/collection/src'
client (webpack 5.100.2) compiled with 2 errors
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Parsing of /Users/.../testing/node_modules/@tailwindcss/node/dist/index.mjs for build dependencies failed at 'import(e)'.
<w> Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.
<w> [webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Parsing of /Users/.../testing/node_modules/@tailwindcss/node/node_modules/jiti/lib/jiti.mjs for build dependencies failed at 'import(id)'.
<w> Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.

Also, the design folder inside the created directory is empty.

Is there something I’m missing, or has the setup process changed recently?

Kind regards,
Seb

See this issue (which contains a workaround): #499 - [bug]: Standalone studio: @freesewing/sabrina module not found - freesewing/freesewing - Codeberg.org

1 Like

Thank you very much for your reply. I tried to add the additional dependencies

+    "@freesewing/sabrina": "latest",
+    "@freesewing/plugin-path-utils": "latest",

to package.json and installed it. I got more errors than before. But I will try again tomorrow.

worked. I can use the developer version now. Thank you! :slight_smile:

2 Likes