wojtkowiak / meteor-desktop

Build a Meteor's desktop client with hot code push.
MIT License
448 stars 81 forks source link

error while transpiling or minifying: Error: SyntaxError: Unexpected token: punc (.) #283

Open a4xrbj1 opened 4 years ago

a4xrbj1 commented 4 years ago

I get the following error when building a new macOS Electron app:

ERROR  electronApp:  error while transpiling or minifying:  Error: SyntaxError: Unexpected token: punc (.)
    at forEach (/Users/andreaswest/Documents/workspace/frontend/node_modules/meteor-desktop/lib/electronApp.js:870:27)
    at Array.forEach (<anonymous>)
    at ElectronApp.transpileAndMinify (/Users/andreaswest/Documents/workspace/frontend/node_modules/meteor-desktop/lib/electronApp.js:860:15)
    at ElectronApp.build (/Users/andreaswest/Documents/workspace/frontend/node_modules/meteor-desktop/lib/electronApp.js:451:13)
    at MeteorDesktop.buildInstaller (/Users/andreaswest/Documents/workspace/frontend/node_modules/meteor-desktop/lib/index.js:115:9)