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

Windows path resolve issue with actions #691

Open
LUISMAGAIVER341 opened this issue Dec 22, 2024 · 2 comments
Open

Windows path resolve issue with actions #691

LUISMAGAIVER341 opened this issue Dec 22, 2024 · 2 comments
Labels

Comments

@LUISMAGAIVER341
Copy link

Describe the bug
Basically it gives a error that can't compile actions.

To Reproduce
Steps to reproduce the behavior:

  1. Open the terminal
  2. bun create brisa@latest
  3. cd on the directory and bun install to certify the fresh install
  4. bun dev or brisa dev to run
  5. Voilà! The error

Expected behavior
Clear and error less output

Screen recording
image

NOTE
The site renders
image
But i think it didn't completely.

@LUISMAGAIVER341
Copy link
Author

Well... I think i found a solution. if you delete /build/pages/index.js
It stops.

@aralroca
Copy link
Collaborator

It looks like bad path resolution in Windows:

Screenshot 2024-12-22 at 20 07 31

We are already using join to use the correct platform separators:

const barrelFile = join(rawActionsDir, 'index.ts');

I see you have Bun 1.1.38, this had several regressions and currently there is 1.1.42. Could you check if it is fixed? This used to work fine in previous versions of Bun. Related to this old Windows issue #538

thank you for reporting it @LUISMAGAIVER341

@aralroca aralroca added bug Something isn't working windows Winter Of Code 4.0 labels Dec 22, 2024
@aralroca aralroca changed the title Failed to compile Window path resolve issue with actions Dec 23, 2024
@aralroca aralroca changed the title Window path resolve issue with actions Windows path resolve issue with actions Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants