Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yarn dev doesnt work, but yarn start does #10

Open
oscareawork opened this issue Aug 5, 2020 · 0 comments
Open

yarn dev doesnt work, but yarn start does #10

oscareawork opened this issue Aug 5, 2020 · 0 comments

Comments

@oscareawork
Copy link

I cloned, and ran "yarn" to install. I then try "yarn dev" and it fails to launch with this:

`yarn run v1.22.4
$ cross-env START_HOT=1 node -r @babel/register ./internals/scripts/check-port-in-use.js && cross-env START_HOT=1 yarn start-renderer-dev
$ cross-env NODE_ENV=development webpack-dev-server --config configs/webpack.config.renderer.dev.babel.js
Starting Main Process...

[email protected] start-main-dev /Users/oscar-work/dev/cgen
cross-env HOT=1 NODE_ENV=development electron -r @babel/register ./app/main.dev.js

(node:14911) UnhandledPromiseRejectionWarning: Error: Exited with code 9
at ChildProcess. (/Users/oscar-work/dev/cgen/node_modules/cross-unzip/index.js:38:21)
at ChildProcess.emit (events.js:194:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
(node:14911) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:14911) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.`

However, yarn start loads fine (but of course, I cannot develop on it since it doesnt hot-reload changes). Any ideas? I am on the latest MacOS Catalina.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant