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

Deploy infra - yargs do not define a valid target for node version 13.x #9

Open
savnik opened this issue Dec 22, 2020 · 0 comments
Open

Comments

@savnik
Copy link

savnik commented Dec 22, 2020

When using node version 13.x and running npm run deploy-infra in the cdk dir following error is display

Package exports for '/home/savnik/blackbird/aws-power-tuner-ui/cdk/node_modules/aws-cdk/node_modules/yargs' do not define a valid '.' target

In the cdk folder the error is originating from npx cdk deploy PowerTunerInfraStack

Steps to reproduce:

  1. Clone the latest master
  2. cd to website-output and run npm install
  3. cd to cdk and run npm install
  4. Still in cdk run npm run deploy-infra
  5. See error message as stated above

Node version: 13.1.0

Quick fix:
Use version 12.x

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