Skip to content

Publish to NPM failed #81

Description

@fredericbarthelet

Github action handling publishing of @serverless/typescript package to NPM currently fails.
Last published version is 3.30.1 - versioning of this package follows serverless main package versions.

Failed job : https://github.com/serverless/typescript/actions/runs/5819791268/job/16047655020

I believe this could be due to changes made on serverless NPM team and currently used Github action secret NPM_TOKEN might not be valid anymore. Could someone from serverless team help here ?

Activity

  1. fredericbarthelet commented on Aug 20, 2023

    @fredericbarthelet
    ContributorAuthor

    @ac360 could you help on the aforementioned issue :) ?

  2. fcappi commented on Sep 13, 2023

    @fcappi

    Any updates about this issue?

  3. guillaume-le-fur commented on Sep 20, 2023

    @guillaume-le-fur

    Edit : My bad, I hadn't read your comment about the token, you can disregard my comment 😅

    Hello @fredericbarthelet,

    Apparently, npm can throw 404 when publishing if you are not logged in.

    Are you sure the token you use when publishing is still valid? See here. Maybe your token has expired?

    Ps : Thank you for you (amazing) work on this package 🙂

  4. herebebogans commented on Nov 16, 2023

    @herebebogans

    Any updates on this?

    Node 20 lambda runtime has just been released and ppl will want type AwsLambdaRuntime updated from serverless.

  5. IdrissMahjoubi commented on Nov 25, 2023

    @IdrissMahjoubi

    Any updates on this build issue ? I need to use the invokeMode config attribute

  6. fredericbarthelet commented on Nov 25, 2023

    @fredericbarthelet
    ContributorAuthor

    @ac360 could you help on this issue and update the NPM_TOKEN value with a valid one in this repository secrets ? Thanks a lot for your help :)

  7. fredericbarthelet commented on Jan 8, 2025

    @fredericbarthelet
    ContributorAuthor

    @austencollins could you help on this issue? If you can update the NPM_TOKEN value with a new valid one in this repository secrets, that'd be perfect!
    Thanks

  8. Mmarzex commented on Jan 8, 2025

    @Mmarzex

    @fredericbarthelet Token has been updated, sorry about that.

  9. fredericbarthelet commented on Jan 8, 2025

    @fredericbarthelet
    ContributorAuthor

    Great! Thanks @Mmarzex for your help! Could you run the workflow or give me back rights on this repo to run the workflow?

  10. fredericbarthelet commented on Jan 8, 2025

    @fredericbarthelet
    ContributorAuthor

    @Mmarzex, I just updated a few actions on test and build definition workflows as well as stepping up node version.
    I just opened a pull request with the changes: #93

    Installing dependencies seem to go like a charm: https://github.com/fredericbarthelet/serverlesstypescript/actions/runs/12679397766/job/35339008893. However, I'm blocked at npx sls schema step as I don't have a valid license key. Can I suggest you had a key from Serverless team as a secret in this repo under name SERVERLESS_LICENSE_KEY ?

  11. RishikeshDarandale commented on Jan 9, 2025

    @RishikeshDarandale

    @Mmarzex , Can you please merge #93 and add either SERVERLESS_ACCESS_KEY or SERVERLESS_LICENSE_KEY ?

  12. RishikeshDarandale commented on Jan 10, 2025

    @RishikeshDarandale

    @Mmarzex , can we please do this today?

  13. RishikeshDarandale commented on Jan 13, 2025

    @RishikeshDarandale

    Going ahead with patch-package functionality for using serverless v4 feature, until #93 and this gets merged.

    • Copy the file(index.d.ts) from feat: update the schema for serverless v4 #92 to node_modules/@serverless/typescript/index.d.ts
    • Install patch-package with npm i patch-package
    • Run npx patch-package @serverless/typescripts
    • Add "postinstall": "patch-package" to your scripts in package.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions