bodymovin-extension icon indicating copy to clipboard operation
bodymovin-extension copied to clipboard

How to pack and debug bodymovin-extension?

Open zhangsl opened this issue 5 years ago • 4 comments

How to pack and debug bodymovin-extension, it looks so different from standard CEP extension

zhangsl avatar Mar 11 '19 03:03 zhangsl

I need to document this better, but if you want to give it a try, check the package.json and gulpfile.js. You probably need to change the path to your ae CEP folder path to start. https://github.com/bodymovin/bodymovin-extension/blob/master/gulpfile.js#L14

bodymovin avatar Mar 13 '19 10:03 bodymovin

~~Hi @bodymovin, after changing the CEP path as suggested, I'm having an issue where the server isn't starting because it can't find the node_modules it needs. Going into the extension/server folder and running npm i works, but its not ideal. Any ideas how to improve this?~~

Ignore this, I realise you just need to do npm i in /bundle/server before building 🤦

Dan-Shields avatar Apr 07 '21 01:04 Dan-Shields

And, how to debug if I want to download native code to make modifications I can see the changes in the BodyMovin panel. I opened it directly on the 8092 even if I am not running native code(the changes in the native code were not associated with that panel) and the 3000 port page open on reported a bunch of errors that the code was running.

sleepyChen avatar Mar 14 '22 09:03 sleepyChen

And, how to debug if I want to download native code to make modifications I can see the changes in the BodyMovin panel. I opened it directly on the 8092 even if I am not running native code(the changes in the native code were not associated with that panel) and the 3000 port page open on reported a bunch of errors that the code was running.

@sleepyChen @Dan-Shields did you figure out how to do this?

Bjorninn1 avatar Aug 10 '22 23:08 Bjorninn1