I've been referencing the Github repository at this link for my project. Following the instructions in the readme file, I proceeded with running a series of commands which resulted in some issues.
The commands executed were:
yarn install
sfdx plugins:link
yarn build
Upon reaching the yarn build command, an error message was displayed as follows:
PS C:\Users\aharo\desktop\Automation\plugin-template> yarn build
yarn run v1.22.5
warning ..\..\..\package.json: No license field
$ sf-build
yarn clean
warning ..\..\..\package.json: No license field
$ sf-clean
,package.json.bak.
yarn compile
warning ..\..\..\package.json: No license field
$ sf-compile
tsc -p . --pretty
../../../node_modules/@types/sizzle/index.d.ts:14:35 - error TS2304: Cannot find name 'Element'.
14 <TArrayLike extends ArrayLike<Element>>(selector: string, context: Element | Document | DocumentFragment, results: TArrayLike);
~~~~~~~
...
(error messages continue)
...
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
PS C:\Users\aharo\desktop\Automation\plugin-template>