Closed jkuszmaul closed 1 year ago
Internal tracking ticket: FG-4076
Indeed there are inconsistencies here. We'll go through the process and get these fixed up. We've moved our starter recommendations to use npm
since yarn
is yet-another step for folks beyond installing node.
@foxymiles FYI https://foxglove.dev/docs/studio/extensions/getting-started still references yarn
as a dependency that you should install (even though https://foxglove.dev/docs/studio/extensions/local-development now references npm
). Is that expected?
Oops nope that should also be removed. https://github.com/foxglove/website/pull/1170
Description
If I attempt to follow the build instructions at https://foxglove.dev/docs/studio/extensions/getting-started and https://foxglove.dev/docs/studio/extensions/local-development on a clean-ish Ubuntu 22.04 system, then when I attempt to run a
yarn local-install
(oryarn build
or anything usingyarn
) I end up getting errors about providing typescript (ts-loader
requeststypescript
as a peer dependency):(note that this computer does not have a typescript compiler installed globally; installing it just resulted in other errors).
The README in this repository suggests using
npm install
rather thanyarn
. This seems to produce fewer errors.Expected Behavior
I can identify which instructions to follow, and follow them on an otherwise clean machine and produce an extension without any errors.