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

No provider for AbstractLogger! #295

Open
beepsoft opened this issue Dec 3, 2019 · 0 comments
Open

No provider for AbstractLogger! #295

beepsoft opened this issue Dec 3, 2019 · 0 comments

Comments

@beepsoft
Copy link

beepsoft commented Dec 3, 2019

I just tried the the default app generation and run and it and it fails with

Error: No provider for AbstractLogger! (CarsService -> AbstractLogger)

This was my session:

> cga init trial
? Select seed type 
  1) graphql-server-typed: Typescript server deployed on now
  2) apollo-typed-lambda: Typescript server for aws lambda deployment
  Answer: 1
> cd trial
> yarn
> yarn build
> yarn start:dev
yarn run v1.19.2
$ ts-node src/main.ts
info: starting graphql server...

<..>/trial/node_modules/injection-js/injection.bundle.js:488
        var error = (originalError ? wrappedError('', originalError) : Error());
                                                                       ^
Error: No provider for AbstractLogger! (CarsService -> AbstractLogger)
    at injectionError (<..>/trial/node_modules/injection-js/injection.bundle.js:488:72)
    at noProviderError (<..>/trial/node_modules/injection-js/injection.bundle.js:517:16)
    at ReflectiveInjector_._throwOrNull (<..>/trial/node_modules/injection-js/injection.bundle.js:1666:23)
    at ReflectiveInjector_._getByKeyDefault (<..>/trial/node_modules/injection-js/injection.bundle.js:1694:29)
    at ReflectiveInjector_._getByKey (<..>/trial/node_modules/injection-js/injection.bundle.js:1646:29)
    at ReflectiveInjector_._getByReflectiveDependency (<..>/trial/node_modules/injection-js/injection.bundle.js:1635:25)
    at <..>/trial/node_modules/injection-js/injection.bundle.js:1617:97
    at Array.map (<anonymous>)
    at ReflectiveInjector_._instantiate (<..>/trial/node_modules/injection-js/injection.bundle.js:1617:63)
    at ReflectiveInjector_._instantiateProvider (<..>/trial/node_modules/injection-js/injection.bundle.js:1609:29)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
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