Raf
06/02/2023, 8:17 PMnpm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/medplum-cdk-init - Not found
npm ERR! 404
npm ERR! 404 'medplum-cdk-init@*' is not in this registry.
I'm have @medplum/cdk on version ^2.0.21, and checked node_modules but there's no init.cjs on @medplum/cdk/dist/cjs/.
Looking at the Medplum repo, I noticed the init.ts script is under the cli package. From there I found my way and executed the init with medplum aws init
So likely just need to update the docs, right?
Shared the whole flow here even though I found my way so others can find too when searching for some keyword.reshma
06/03/2023, 9:08 PMRaf
06/07/2023, 6:09 AMnpx medplum-cdk-init
*docs: https://www.medplum.com/docs/self-hosting/install-on-aws#run-the-init-tool
AFAIK, it should reference Medplum's CLI (https://www.medplum.com/docs/cli#aws) init command:
medplum aws initcody
06/09/2023, 12:18 AM