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

Executing build.js crashes #62

Closed
Johbog opened this issue Jul 21, 2023 · 1 comment
Closed

Executing build.js crashes #62

Johbog opened this issue Jul 21, 2023 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Johbog
Copy link

Johbog commented Jul 21, 2023

Bug description

The following message appears while running node ./build.js:

• Executing pre build hook '*/*': ERROR chdir rolens/build/bin: no such file or directory -

A possible solution is using the fs/mkdirSync function to create the ./build/bin folder right after removing itt

Reproduction

Run the following command: node ./build.js.

Version

3827ae3

Relevant log output

# Build Options

Platform(s)        | darwin/arm64                                   
Compiler           | /opt/homebrew/opt/[email protected]/bin/go               
Skip Bindings      | false                                          
Build Mode         | production                                     
Frontend Directory | rolens/frontend
Obfuscated         | false                                          
Skip Frontend      | false                                          
Compress           | false                                          
Package            | true                                           
Clean Bin Dir      | true                                           
LDFlags            |                                                
Tags               | []                                             
Race Detector      | false                                          

# Building target: darwin/arm64

  • Executing pre build hook '*/*':   ERROR   chdir rolens/build/bin: no such file or directory - 

  ERROR   chdir rolens/build/bin: no such file or directory - 
 ♥   If Wails is useful to you or your company, please consider sponsoring the project:
https://github.com/sponsors/leaanthony

[1]  + 36444 exit 1     node ./build.js

Environment information

Not applicable.

Severity of this bug

Blocking a specific feature

@Johbog Johbog added the bug Something isn't working label Jul 21, 2023
@garraflavatra
Copy link
Owner

I would say this blocks all usage of Rolens because you are not able to compile it... Thanks for taking the time to report this, I'm going to fix it for the next release (v0.3.0).

@garraflavatra garraflavatra added this to the v0.3.0 milestone Jul 21, 2023
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