You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to link to a fork of this addon, because there are bugfixes that haven't been merged yet. In this case #506
In the past I have been able to link to the githup repo in order to work around that. in package.json: "ember-sortable": "git+https://github.com/st-h/ember-sortable.git#ios_scrolling",
After updating my PR to integrate latest commits, I get the following error:
(I had to install pnpm and rollbar locally in order to resolve issues with missing executables first)
[4/4] 🔨 Building fresh packages...
success Saved lockfile.
$ pnpm build
> @0.0.0 build /Users/steve/Library/Caches/Yarn/v6/.tmp/bcc72553800b9a00a01fb2a21cc4c8b7.8498ff01d6e1e0c475e2d286bf774674ab39f976.prepare
> pnpm --filter 'ember-sortable' build
> ember-sortable@5.0.0 build /Users/steve/Library/Caches/Yarn/v6/.tmp/bcc72553800b9a00a01fb2a21cc4c8b7.8498ff01d6e1e0c475e2d286bf774674ab39f976.prepare/addon
> rollup --config
[!] Error: Cannot find package '@rollup/plugin-babel' imported from /Users/steve/Library/Caches/Yarn/v6/.tmp/bcc72553800b9a00a01fb2a21cc4c8b7.8498ff01d6e1e0c475e2d286bf774674ab39f976.prepare/addon/rollup.config.mjs
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@rollup/plugin-babel' imported from /Users/steve/Library/Caches/Yarn/v6/.tmp/bcc72553800b9a00a01fb2a21cc4c8b7.8498ff01d6e1e0c475e2d286bf774674ab39f976.prepare/addon/rollup.config.mjs
at new NodeError (node:internal/errors:399:5)
at packageResolve (node:internal/modules/esm/resolve:794:9)
at moduleResolve (node:internal/modules/esm/resolve:843:20)
at ESMLoader.defaultResolve (node:internal/modules/esm/resolve:1058:11)
at ESMLoader.resolve (node:internal/modules/esm/loader:323:32)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:172:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
at link (node:internal/modules/esm/module_job:75:36)
/Users/steve/Library/Caches/Yarn/v6/.tmp/bcc72553800b9a00a01fb2a21cc4c8b7.8498ff01d6e1e0c475e2d286bf774674ab39f976.prepare/addon:
ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL ember-sortable@5.0.0 build: `rollup --config`
Exit status 1
WARN Local package.json exists, but node_modules missing, did you mean to install?
ELIFECYCLE Command failed with exit code 1.
error Command failed with exit code 1.
To Reproduce
Steps to reproduce the behavior:
in an app, specify ember-sortable using git link.
install dependencies
Expected behavior
I can specify a dependency to this addon using git link. Alternatively I could do without at the moment, if bugfixes were merged.
The text was updated successfully, but these errors were encountered:
@NullVoxPopuli thanks for the suggestion. looks like patch package is a better approach to handle those issues anyways. However, is there still a way I can link an unpublished add-on that has a build stage? like I made a major refactoring to an add-on, but want to test it with an existing app locally first?
Describe the bug
I need to link to a fork of this addon, because there are bugfixes that haven't been merged yet. In this case #506
In the past I have been able to link to the githup repo in order to work around that. in package.json:
"ember-sortable": "git+https://github.com/st-h/ember-sortable.git#ios_scrolling",
After updating my PR to integrate latest commits, I get the following error:
(I had to install pnpm and rollbar locally in order to resolve issues with missing executables first)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I can specify a dependency to this addon using git link. Alternatively I could do without at the moment, if bugfixes were merged.
The text was updated successfully, but these errors were encountered: