Hi, all! I’m trying to get the fleet preview to r...
# fleet
j
Hi, all! I’m trying to get the fleet preview to run on Win10 but fleetctl isn’t being installed by npm; are there updated install instructions? Thx!
k
Hi, @Joe B! What's happening when you try?
j
C:\WINDOWS\system32>npm install -g fleetctl npm WARN config global
--global
,
--local
are deprecated. Use
--location=global
instead. npm WARN config global
--global
,
--local
are deprecated. Use
--location=global
instead. added 22 packages, and audited 23 packages in 2s 3 packages are looking for funding run
npm fund
for details found 0 vulnerabilities npm notice npm notice New minor version of npm available! 8.11.0 -> 8.16.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.16.0 npm notice Run npm install -g npm@8.16.0 to update! npm notice C:\WINDOWS\system32>fleetctl preview ‘fleetctl’ is not recognized as an internal or external command, operable program or batch file.
k
Have you run globally installed npm packages before? It could just be that your PATH needs to be updated.
j
ahh, prob that’s it. where does it put packages in Win10?
k
Checking.
npm root -g
should output the install location for you.
j
ahh, great! every time I use -g, it complains that that is deprecated and to use --location=global instead
k
I always find it hilarious given the update instructions npm gives.
j
haha
Thx for your help! I’ll update my path
🙂
k
Happy to help! Have fun with it, and don't hesitate to reach out if you have questions or that doesn't do the trick.
j
🖖
OK, I’ve got docker working and have run fleetctl preview and see it in docker, but opening 127.0.0.1:1337 doesn’t work. Docker says “redis01_1 | 1:M 09 Aug 2022 222645.174 * Running mode=standalone, port=6379.”
I’ve tried 127.0.0.1:6379 as well but no love
k
When you ran the preview commands, were there any errors? Does Docker show the fleet service running as well?
Container, sorry.
j
No errors, yes it shows running
that’s where I got that log line from
I’ve scheduled a fleet demo for tomorrow, so it’s not super important that I get this going, but it’s too bad that it’s so tough to have a preview of Fleet…. 😉
k
It definitely shouldn't be! It generally runs pretty smoothly, but there are definitely a lot of moving pieces. There should be several Docker containers running for Fleet, Redis, MySQL and preview hosts.
j
Ahh, only one gets launched
k
Odd. Any errors when running preview?
I'd be happy to jump on a quick Zoom call if you'd like… I know it's nice to have time to poke about yourself before demos :)
j
nah, it’s ok but thank you so much! 🙂
k
No problem!