You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I received the following error when attempting to upgrade from 6.23.1 to 6.25.0:
cdk-appsync-transformer % yarn test
yarn run v1.22.10
$ rm -fr lib/ && jest --passWithNoTests --updateSnapshot
FAIL test/index.test.ts
● Test suite failed to run
Cannot find module 'amplify-cli-core' from 'node_modules/graphql-function-transformer/node_modules/graphql-transformer-core/lib/util/sanity-check.js'
Amplify CLI Version
N/A - using amplify graphql-transformer libraries outside of amplify-cli
To Reproduce
git clone -b repro/graphql-transformer-dependencies https://github.com/kcwinner/cdk-appsync-transformer.git
npx projen
yarn test
Expected behavior
graphql-transformer libraries working without the global context of amplify-cli
Screenshots
Desktop (please complete the following information):
OS: Mac
Node Version: v12.17.0
Additional context
I use the graphql-transformer libraries in a cdk construct to allow directive based schema usage.
The text was updated successfully, but these errors were encountered:
Describe the bug
graphql-transformer-core/src/util/sanity-check.ts requires
amplify-cli-core
butamplify-cli-core
is not listed as a dependency in package.json as of version6.24.0
(6.23.1 was last working version for me).I received the following error when attempting to upgrade from 6.23.1 to 6.25.0:
Amplify CLI Version
N/A - using amplify graphql-transformer libraries outside of amplify-cli
To Reproduce
Expected behavior
graphql-transformer libraries working without the global context of amplify-cli
Screenshots
Desktop (please complete the following information):
Additional context
I use the graphql-transformer libraries in a cdk construct to allow directive based schema usage.
The text was updated successfully, but these errors were encountered: