Giter Club home page Giter Club logo

Comments (5)

sheerlox avatar sheerlox commented on July 17, 2024

Hi @lukiffer, sorry you're encountering an issue with this package!

Could you please run the failing command with the DEBUG=import-from-esm env variable? This will log every path it has tried to resolve.

from import-from-esm.

lukiffer avatar lukiffer commented on July 17, 2024

Here's the actual output: https://gist.github.com/lukiffer/fd3f0b38960555b7bb808fdb5edc42f7

(I think) the issue is with the first resolve attempt:

Trying to resolve '@bdrk/semantic-release-config/npm'

In this case, a file does in fact exist at node_modules/@bdrk/semantic-release-config/npm/index.js but is throwing ERR_MODULE_NOT_FOUND.

Moving the file to ./npm.js (with type="commonjs" in package.json) or moving it to ./npm.cjs both work fine. So it seems like it's either not trying the index.js default, or having some trouble locating it.

from import-from-esm.

sheerlox avatar sheerlox commented on July 17, 2024

Ok, I found the issue. I'm working on a fix and should be releasing that in the next few hours, will keep you updated. Thanks for the heads up!

from import-from-esm.

sheerlox avatar sheerlox commented on July 17, 2024

🎉 This issue has been resolved in version 1.3.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

from import-from-esm.

sheerlox avatar sheerlox commented on July 17, 2024

Renovate should update the dependency on the various @semantic-release repos in the next few hours!

Feel free to reopen if you're still getting an issue after upgrading 😄

EDIT: forgot @semantic-release repositories didn't use pinned versions, so you just need to update your lockfile with npm update import-from-esm, but it seems you're using npx to run semantic-release so none of the above should be needed :)

from import-from-esm.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.