problem starting development

I'm new to signalk development, trying to set up a development environment. Installed it raw on my mac, but get the following error after start: [Error: ENOENT: no such file or directory, open '/develop/signalk/signalk-server/node_modules/@signalk/server-admin-ui/public/index.html'] { errno: -2, code: 'ENOENT', syscall: 'open', path: '/Users/jorgen/Documents/dev/signalk/signalk-server/node_modules/@signalk/server-admin-ui/public/index.html' } and on the ui: Could not handle admin ui root request I have installed signalk-server, run "npm run build:all" and tried some other tricks to no avail. What am I missing?
8 Replies
AdrianP
AdrianP10mo ago
Normally just npm i npm run build:all npm start Should do it... All commands issued from the project root folder.
Teppo Kurki
Teppo Kurki10mo ago
What adrian said. i creates the symlink under node_modules, build all creates the public directory. Which one is missing?
Jörgen
JörgenOP10mo ago
I am afraid it does not work on my mac. But managed in a docker container, I will run that way for now.
Teppo Kurki
Teppo Kurki10mo ago
what node & npm versions in each?
Scott Bender
Scott Bender10mo ago
Works on my Mac
Jörgen
JörgenOP10mo ago
Working now after reinstallation of node and npm. Sorry for any confusion.
Teppo Kurki
Teppo Kurki10mo ago
what do you plan to do? just curious...
Jörgen
JörgenOP10mo ago
I am trying to interface my garmin autopilot. I will try to do that using the V2 api, got some good help from @AdrianP . Have made a POC that I will try in the boat later today. Biggest struggle I forsee is that the PGN's is not decoded, so I have to reverse engineer at least the parts I need to use.
Want results from more Discord servers?
Add your server