Issue running create
mattrochon opened this issue · comments
mattrochon commented
Rafał Dzięgielewski commented
@mattrochon I've just released a new version which should fix the issue with missing error logs with DEBUG=true
. Could you try to reinstall @adminjs/cli
and share the exact message? Sharing your OS will also be helpful.
mattrochon commented
Rafał Dzięgielewski commented
Could you try the latest version (1.0.3
)?
mattrochon commented
Rafał Dzięgielewski commented
The package name is @adminjs/cli
, not adminjs-cli
.
Can you try to run npm uninstall -g @adminjs/cli
then install again?
mattrochon commented
Rafał Dzięgielewski commented
@mattrochon It's possible that postSetup
script failed. It does some extra work for you, i. e. it generates prisma/schema.prisma
. I'll have a look at that warning tomorrow.
Black Sheep commented
Rafał Dzięgielewski commented
@blacksheepstudio environment variables have to go before the command:
$ DEBUG=true adminjs create
Rafał Dzięgielewski commented
@mattrochon That warning should be gone @ version 1.0.4