Jump to content

Building from sources on Windows


Recommended Posts

Hi,

The Adobe extension consists of two parts: ftrack-connect-spark-adobe (adobe specific logic) and ftrack-connect-spark (shared UI).

When building the extension, it copies the UI distribution (`node_modules/ftrack-connect-spark/dist/`) to build/staging/ftrack_connect_spark/. I don't actually think the distribution files are checked in into ftrack-connect-spark, which means that you either have to build those files locally or copy the files over from the extension if you are not making any changes to the UI.

To build the extension with changes to the UI, you will need to:

  1. Clone the ftrack-connect-spark repository
  2. Build it (yarn install && yarn dist)
  3. Configure ftrack-connect-spark-adobe to use the local package
    1. In ftrack-connect-spark: yarn link
    2. In ftrack-connect-spark-adobe: yarn link ftrack-connect-spark
  4. Rebuild ftrack-connect-spark-adobe using grunt

Regards,
Lucas

Link to comment
Share on other sites

The only node I got it working was 9.11.2 (tested 10.18.1, 11.13.0, 13.7.0). On recent versions I got same error (log above).

Although I installed dependencies, there is an issue with path separators on windows:

...
    File to import not found or unreadable: C:UserskalemÞsktopOneDriveWorkhomeÞvsstrack-connect-sparksourcestyle_theme.scss
...

I fixed it by editing config/default.js

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...