question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

My npm package awscdk-nwfirewall is not showing in ConstructHub

See original GitHub issue

awscdk-nwfirewall

I have added the keywords and the proper license. I am pretty sure I have added the proper jsii config as I checked other projects where it is working.

Here is that section of package.json

  "jsii": {
    "outdir": "dist",
    "targets": {},
    "tsc": {
      "outDir": "src",
      "rootDir": "lib"
    },
    "excludeTypescript": [
      "example"
    ]
  }

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
vennempcommented, Dec 30, 2021

I appreciate the response! I am just very new to typescript so this all escapes me. I will certain check this!

Coincidentally, I think there is more wrong with my package. My package works locally on my computer - but when in install fresh from npm it does not. It won’t even recognize the package in my ide - even after installing. I will get this to work!

0reactions
Chriscbrcommented, Jan 2, 2022

@vennemp I’m glad to hear you were able to get your package published successfully! 😄

I kept getting weird version dependency issues on the constructs package.

Is it possible you’re trying to use AWS CDK v1 libraries (like @aws-cdk/core, @aws-cdk/aws-ec2, @aws-cdk/aws-lambda) with AWS CDK v2 (available through aws-cdk-lib)? If so you might need to change the dependencies you’re using and some of the import statements in your code. There’s some documentation about differences between v1 and v2 here: https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html

If you run into other issues unrelated to Construct Hub, I would recommend posting a question on the AWS CDK repo or on the https://cdk.dev/ community slack. Hope this helps! 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

construct-hub - npm
Start using construct-hub in your project by running `npm i construct-hub`. ... NpmJs(), // Remove if you do NOT want npmjs.com packages new...
Read more >
Best practices for discoverability of a construct library ... - AWS
In this blog post, I will provide an overview of best practices to improve the discoverability of your construct libraries on Construct Hub....
Read more >
Contribute - Construct Hub
Construct Hub continuously monitors the npm Registry. Packages that meet the above requirements appear in Construct Hub in about 30 minutes. If your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found