pixijs / animate-extension

Custom Platform Plugin for Adobe Animate CC (Formerly Adobe Flash CC) - to export animation for the PixiJS renderer
128 stars 25 forks source link

Can not compile #54

Open abdulgalimov opened 6 years ago

abdulgalimov commented 6 years ago

Adobe Animate CC 2018. macOS High Sierra

I see an error when compiling:

ERROR: Electron is required to be installed at /usr/local/bin/electron
Install by running the following from a commandline:

    npm install electron-prebuilt -g

The electron on the command line is launched:

$ which electron
/Users/sam/.nvm/versions/node/v9.2.0/bin/electron

How to fix it?

bigtimebuddy commented 6 years ago

Create a symbolic link:

sudo ln -s /Users/sam/.nvm/versions/node/v9.2.0/bin/electron /usr/local/bin/electron
abdulgalimov commented 6 years ago

Thanks! It works