Closed PerryDesign closed 1 year ago
Thanks for brining this up.
I can recreate this issue on my end with Mac, Windows builds successfully. Will look into these sorts of packages...
@PerryDesign that module relies on Symlinks, which need to be dereferenced on Mac.
If you run yarn add vite-cep-plugin
to update to 1.1.0
this issue should be resolved.
@justintaylor-dev this works great. Thanks for the fix 🙌
Awesome
When attempting to build a zxp on an M1 Mac where I am including img-clipboard as an external node module via
const { copyImg } = require('img-clipboard');
, the build fails with this in the console:Deleting this require statement results in a successful build. Including the module in cep.config under
installModules
with the require statement in the codebase results in the same failure. Including the module in cep.config underinstallModules
and removing the require statement from the codebase results in the same error. I still have not attempted with other external node modules.