Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@linaria/cli - Cannot find module '../lib/cli' #753

Closed
kinetifex opened this issue Apr 21, 2021 · 1 comment
Closed

@linaria/cli - Cannot find module '../lib/cli' #753

kinetifex opened this issue Apr 21, 2021 · 1 comment
Labels
bug report 🦗 Issue is probably a bug, but it needs to be checked needs: complete repro 🖥️ Issue need to have complete repro provided

Comments

@kinetifex
Copy link
Contributor

Environment

  • Linaria version: 3.0.0-beta.2 || 3.0.0-beta.3
  • Bundler (+ version):
  • Node.js version: 14.15.1
  • OS: macOS 11.2.3

Description

The latest cli fails to find the lib module. Likely due to the file name change in 75f5d8d.

If I hack in and fix this in my node_modules, then it finds the module but I start to get Cannot find module '@babel/core' so there are additional issues it seems.

Reproducible Demo

> yarn global add @linaria/cli@3.0.0-beta.2
> linaria --version

internal/modules/cjs/loader.js:883
  throw err;
  ^

Error: Cannot find module '../lib/cli'
@kinetifex kinetifex added bug report 🦗 Issue is probably a bug, but it needs to be checked needs: complete repro 🖥️ Issue need to have complete repro provided needs: triage 🏷 Issue needs to be checked and prioritized labels Apr 21, 2021
@github-actions github-actions bot removed the needs: triage 🏷 Issue needs to be checked and prioritized label Apr 21, 2021
@Anber
Copy link
Collaborator

Anber commented May 7, 2021

Hi @kinetifex!

I hope, I fixed it in beta.4

@Anber Anber closed this as completed May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report 🦗 Issue is probably a bug, but it needs to be checked needs: complete repro 🖥️ Issue need to have complete repro provided
Projects
None yet
Development

No branches or pull requests

2 participants