ditojs / dito-example

4 stars 2 forks source link

yarn console command exits with error #9

Open puckey opened 4 years ago

puckey commented 4 years ago

When I run yarn console, the command exits with error code 1:

$ dito console src/server/app
development server started at http://0.0.0.0:8080
ℹ 「hot」: WebSocket Server Listening on localhost:57517
ℹ 「hot」: Applying DefinePlugin:__hotClientOptions__
ℹ 「hot」: webpack: Compiling...

------------------------------------------------------------
Dito Console

Available references:
 - Dito app: app
 - Dito models: Message, Dummy, User

------------------------------------------------------------

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lehni commented 4 years ago

Yes I can replicate. Haven't used the console in ages… Odd!

puckey commented 4 years ago

This fixes it: https://github.com/ditojs/dito/pull/31