embroider-build / addon-blueprint

Blueprint for v2-formatted Ember addons
MIT License
29 stars 28 forks source link

dist branch: Yarn complains that rollup is not found when consuming the addon #176

Open colenso opened 1 year ago

colenso commented 1 year ago

When adding the addon created via the blueprint as a dependency in the package.json file using the form: "addon-name": "https://github.com/name/repo-name#dist Yarn complains with the following error:

Packing addon-name@https://github.com/name/repo.git#commit=commitSha from sources
No package manager configuration detected; defaulting to Yarn
yarn pack v1.22.19
$ rollup --config
/bin/sh: rollup: command not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/pack for documentation about this command.
NullVoxPopuli commented 1 year ago

hello! do you have a reproduction of this I could look at?

rollup shouldn't be running :sweat_smile: