railsware / bozon

πŸ›  Command line tool for building, testing and publishing modern Electron applications
MIT License
758 stars 52 forks source link

SyntaxError while running bozon start -r on Win10. #76

Closed stivo32 closed 4 years ago

stivo32 commented 4 years ago

Hi, guys. I'm trying to run electron app with bozon and flag -r/--reload, but it doesn't work. Preconditions: 1) win10 x64 2) node v13.0.1 3) npm 6.12.0 4) bozon 1.0.6

Steps: 1) bozon new app_name 2) cd app_name 3) bozon start -r

Actual result:

` $ bozon start --reload [bozon] Building Electron application βœ“ [bozon] Starting application βœ“ [bozon] Watching for changes οΏ½πŸ‘€

D:\path_to_app\electron_with_bozon\node_modules.bin\electron:2 basedir=$(dirname "$(echo "$0" | sed -e 's,\,/,g')") ^^^^^^^

SyntaxError: missing ) after argument list at wrapSafe (internal/modules/cjs/loader.js:891:16) at Module._compile (internal/modules/cjs/loader.js:941:27) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10) at Module.load (internal/modules/cjs/loader.js:822:32) at Function.Module._load (internal/modules/cjs/loader.js:730:14) at Function.Module.runMain (internal/modules/cjs/loader.js:1051:12) at internal/main/run_main_module.js:16:11 ` Expected result: 1) Error doesn't appear.

I tried: 1) full delete + recreate app 2) work with cmd, pycharm terminal, git bash

alchaplinsky commented 4 years ago

@stivo32 Thanks for reporting. Should be fixed in v1.0.7