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

Could not resolve "vike-react/config" [plugin vike-esbuild] #294

Closed
jordyalcides opened this issue Jul 3, 2024 · 3 comments
Closed

Could not resolve "vike-react/config" [plugin vike-esbuild] #294

jordyalcides opened this issue Jul 3, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@jordyalcides
Copy link

Describe the bug
After starting a new project with the command pnpm create @batijs/app --react, installing dependencies and running dev mode the console shows an error
[vike][config] Failed to transpile /pages/+config.ts because:
✘ [ERROR] Could not resolve "vike-react/config" [plugin vike-esbuild]

To Reproduce
Steps to reproduce the behavior, run the following commands in order:
pnpm create @batijs/app --react
cd my-app
pnpm i && pnpm run dev

Expected behavior
Run dev mode without any errors

Screenshots
Screenshot 2024-07-03 at 17 53 27

Additional context
Using macOS Ventura 13.6.6, also I have updated node, pnpm, typescript and all libs versions to match the versions on stackblitz demo (which I know works), still the problem persists. I also tried installing the dependencies from the stackblitz lockfile.

@jordyalcides jordyalcides added the bug Something isn't working label Jul 3, 2024
@magne4000
Copy link
Member

Which version of node are you using exactly?

@jordyalcides
Copy link
Author

node version: v18.20.3
pnpm version: 9.4.0

@magne4000
Copy link
Member

Closing in favor of vikejs/vike#1729

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants