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

Missing dependencies and compilation errors #1

Open
Snazzie opened this issue Jan 19, 2025 · 0 comments
Open

Missing dependencies and compilation errors #1

Snazzie opened this issue Jan 19, 2025 · 0 comments

Comments

@Snazzie
Copy link

Snazzie commented Jan 19, 2025

Is it possible to ship these two dependencies with your package? instead of consumer having to install manually.

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'cheerio' 
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'babel-plugin-add-react-displayname'
[vite-plugin-react-scan] ERROR: Failed to transform  Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@babel/plugin-transform-react-jsx' imported from C:\...\Source\Projects\UI\babel-virtual-resolve-base.js

When manually installed @babel/plugin-transform-react-jsx, error pops up complaining about type which i guess needs a typescript handler.

[vite-plugin-react-scan] ERROR: Failed to transform C:/.../Source/Projects/UI/src/Pages/DetailPages/Postgres/OverviewPage.tsx: SyntaxError: C:\...\Source\Projects\UI\src\Pages\DetailPages\Postgres\OverviewPage.tsx: Unexpected token, expected "," (2:33)

  1 |
> 2 | import { useTimeControlBar, type TimeControlBar } from "../TimeControlBar";
    |                                  ^
  3 | import { useRouteParams } from "../../../components/Contexts/useParams";
  4 | import { TopQueries } from "./sections/TopQueries";
  5 |

@Snazzie Snazzie changed the title Missing dependencies Missing dependencies and compilation errors Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant