Comments (12)
Will be fixed in next alpha... for now npx gobot 'pocketbase/pocketbase'
works :)
from gobot.
Still not working on windows:
Getting the following error:
Need to install the following packages:
gobot@1.0.0-alpha.35
Ok to proceed? (y)
Fetching info for pocketbase/pocketbase releases page 1...https://api.github.com/repos/pocketbase/pocketbase/releases?per_page=100&page=1
Fetching info for pocketbase/pocketbase releases page 2...https://api.github.com/repos/pocketbase/pocketbase/releases?per_page=100&page=2
Fetching info for pocketbase/pocketbase releases page 3...https://api.github.com/repos/pocketbase/pocketbase/releases?per_page=100&page=3
Downloading https://github.com/pocketbase/pocketbase/releases/download/v0.22.8/pocketbase_0.22.8_windows_amd64.zip
Downloading.............
Download completed.
Unpacking C:\Users\nafee\AppData\Local\gobot-nodejs\Cache\pocketbase\pocketbase\archives\0.22.8\x64\win32\pocketbase_0.22.8_windows_amd64.zip
Error: Could not find pocketbase.exe anywhere in path C:\Users\nafee\AppData\Local\gobot-nodejs\Cache\pocketbase\pocketbase\archives\0.22.8\x64\win32
Screenshot
from gobot.
Can you show me what's in C:\Users\nafee\AppData\Local\gobot-nodejs\Cache\pocketbase\pocketbase\archives\0.22.8\x64\win32
from gobot.
Also, try this:
npx gobot@latest reset pocketbase
npx gobot@latest pocketbase --help
from gobot.
This appears to be the same error as this #4
@benallfree was this fixed?
from gobot.
See @RayyanNafees last line:
Error: Could not find pocketbase.exe anywhere in path C:\Users\nafee\AppData\Local\gobot-nodejs\Cache\pocketbase\pocketbase\archives\0.22.8\x64\win32
that is the exact same error I get.
from gobot.
@VictorioBerra Can you please show me the directory listing for C:\Users\nafee\AppData\Local\gobot-nodejs\Cache\pocketbase\pocketbase\archives\0.22.8\x64\win32
from gobot.
@benallfree that is nafee, mine is:
file:///C:/Users/toryb/source/repos/Failreactor-Pocketbase%20-%20JS/node_modules/gobot/dist/chunk-Y2WPSBSM.js:406
throw new Error(`Could not find ${this.binName} anywhere in path ${path}`);
^
Error: Could not find pocketbase.exe anywhere in path C:\Users\toryb\AppData\Local\gobot-nodejs\Cache\pocketbase\pocketbase\archives\0.22.7\x64\win32
at _Gobot.findArchiveBinPath (file:///C:/Users/toryb/source/repos/Failreactor-Pocketbase%20-%20JS/node_modules/gobot/dist/chunk-Y2WPSBSM.js:406:13)
at _Gobot.getBinaryPath (file:///C:/Users/toryb/source/repos/Failreactor-Pocketbase%20-%20JS/node_modules/gobot/dist/chunk-Y2WPSBSM.js:457:34)
at async _Gobot.run (file:///C:/Users/toryb/source/repos/Failreactor-Pocketbase%20-%20JS/node_modules/gobot/dist/chunk-Y2WPSBSM.js:540:19)
Node.js v20.9.0
[nodemon] app crashed - waiting for file changes before starting...
directory listing
PS C:\Users\toryb\source\repos\Failreactor-Pocketbase - JS> dir C:\Users\toryb\AppData\Local\gobot-nodejs\Cache\pocketbase\pocketbase\archives\0.22.7\x64\win32
Directory: C:\Users\toryb\AppData\Local\gobot-nodejs\Cache\pocketbase\pocketbase\archives\0.22.7\x64\win32
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 4/10/2024 1:37 PM 0 CHANGELOG.md
-a---- 4/10/2024 1:37 PM 1090 LICENSE.md
-a---- 3/29/2024 7:35 PM 41448960 pocketbase.exe
-a---- 4/10/2024 1:37 PM 14709671 pocketbase_0.22.7_windows_amd64.zip
PS C:\Users\toryb\source\repos\Failreactor-Pocketbase - JS>
from gobot.
Interesting, so it's there but it's not finding it... I'll look into it more
from gobot.
@benallfree Not sure if this helps, but this works for me:
Change this line https://github.com/benallfree/gobot/blob/main/src/Gobot.ts#L232
const fname2 = globSync(join(path, this.binName), { nodir: true })[0];
(remove the **
):
from gobot.
Interesting, I'm not sure that would search subdirectories if it were missing.
from gobot.
@benallfree I dont claim for it to be a fix, only to maybe help aid you in debugging.
from gobot.
Related Issues (9)
- README links broken. HOT 3
- --g-use-version="~0.21.0" programmatically? HOT 1
- Updated from alpha 14 to 34 and getting an error HOT 1
- pocketbase --dir does not work HOT 3
- 0.22.8 wont download on Windows 64
- Alpha 34 to 36 breaks Pocketbase HOT 4
- Doesn't detect `pb_public` folder with `pocketbase` HOT 3
- List binary location.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gobot.