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

Bug: no such file or directory index.ts #290

Closed
tenjaa opened this issue Jul 5, 2022 · 0 comments · Fixed by #291
Closed

Bug: no such file or directory index.ts #290

tenjaa opened this issue Jul 5, 2022 · 0 comments · Fixed by #291

Comments

@tenjaa
Copy link
Contributor

tenjaa commented Jul 5, 2022

Hi :)
I just updated to the latest version and then received the following error:

npm i -g cdk-import@0.2.185
cdk-import cfn -l typescript "AWSQS::EKS::Cluster"

[Error: ENOENT: no such file or directory, copyfile '/var/folders/94/mhmftsqd3v77j3k0l5l7fbhc0000gr/T/cdk-importRwMTh2/index.ts' -> 'awsqs-eks-cluster.ts'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'copyfile',
  path: '/var/folders/94/mhmftsqd3v77j3k0l5l7fbhc0000gr/T/cdk-importRwMTh2/index.ts',
  dest: 'awsqs-eks-cluster.ts'
}

v0.2.184 work fine.
So it looks like this bug is introduced in release 0.2.185, the one that also introduced the schema-file.
The error still exists in the latest version for me.

OSX 12.4 with node v18.2.0

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

Successfully merging a pull request may close this issue.

1 participant