garraflavatra / rolens

Super fast and super simple MongoDB administration tool for Windows, macOS and Linux.

Home Page:https://rolens.romein.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Executing build.js crashes

Johbog opened this issue · comments

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/go@1.18/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

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).