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
cdk init lib --language typescript
Applying project template lib for typescript
Executing npm install...
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! pipeline-artifact-bucket@0.1.0 prepare: `tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the pipeline-artifact-bucket@0.1.0 prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/mcowgill1/.npm/_logs/2018-11-19T22_23_07_667Z-debug.log
> pipeline-artifact-bucket@0.1.0 prepare /Users/mcowgill1/code/oip-cdk/packages/@oip-cdk/pipeline-artifact-bucket
> tsc
lib/index.ts(16,33): error TS2694: Namespace '"/Users/mcowgill1/code/oip-cdk/packages/@oip-cdk/pipeline-artifact-bucket/node_modules/@aws-cdk/aws-sqs/lib/index"' has no exported member 'QueueArn'.
The text was updated successfully, but these errors were encountered:
To avoid people having to clear out their template from the generated
topic and queue after they run 'cdk init app', make the 'app' template an
empty CDK project.
The original code has been moved to 'cdk init sample-app' (aliases: 'cdk
init sample', 'cdk init example').
Fixes#1124.
Also change the content of the templates. We recommend people write reusable constructs in 'lib'
directories, and they should put stacks there as well.
Change both init templates to reflect this change.
Fixes#1128.
The 'lib' init template used 'QueueArn' but that no long exists.
Fixes#1214.
The lib init in v0.18.0 seems to throw errors:
The text was updated successfully, but these errors were encountered: