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.

No codemods available right now

See original GitHub issue

When running npx @compiled/cli@latest or npx @compiled/cli --preset codemods I am getting the following error:

No codemods available right now.

I have already followed the installation steps here: https://compiledcssinjs.com/docs/installation

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
itsdougescommented, Jan 12, 2021

Yeah 😄 fix is small, I want to add some tests so it’s harder for this to regress in the future. Will have a play and throw up a PR later 🤗

1reaction
pgmanutdcommented, Jan 12, 2021

@madou: We can probably hardcode @compiled/css instead of reading from pkgJson.name in export const COMPILED_IMPORT_PATH = pkgJson.name;. Its better than hacky thing.

And fix is here 😅

Read more comments on GitHub >

github_iconTop Results From Across the Web

State of jscodeshift project · Issue #482 - GitHub
One of the major issues we have with jscodeshift codemods today is that they're not type-aware. For example, it's tricky to only codemod...
Read more >
Write Code to Rewrite Your Code: jscodeshift - Toptal
Up your refactoring game by using codemods, scripts used to rewrite other scripts. In this article, Toptal Freelance Developer Jeremy Greer walks us...
Read more >
Codemods: A Quick and Easy Way to Automate Code ...
Take the pain out of updating your code using jscodeshift to automate the changes. Chris Laughlin introduces explains how to create and ...
Read more >
When not to codemod - CodeshiftCommunity
Anytime we run into indirection, it is harder to statically analyse how a piece of code is being used and have to take...
Read more >
Say Goodbye to JSCodeshift - JavaScript in Plain English
It was a great idea: make codemods simple and popular. BUT, for the last couple of years, I saw no growth. ... And...
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