steelbrain / package-deps

Automatically install dependencies for your atom packages
MIT License
59 stars 20 forks source link

Error during showing installation progress to user #326

Closed aminya closed 3 years ago

aminya commented 3 years ago

After upgrading to package-deps 7, I get this error in my Windows unit tests (headless). This does not happen on other platforms:

https://github.com/atom-community/atom-ide-base/pull/47

[Package-Deps] Error during showing installation progress to user Error: Can't create a view for Notification instance. Please register a view provider.
    at ViewRegistry.createView (D:\a\_temp\atom\Atom\resources\app.asar\src\view-registry.js:198:11)
    at ViewRegistry.getView (D:\a\_temp\atom\Atom\resources\app.asar\src\view-registry.js:133:19)
    at getView (D:\a\atom-ide-base\atom-ide-base\node_modules\atom-package-deps\lib\index.js:778:41)
    at Object.install (D:\a\atom-ide-base\atom-ide-base\node_modules\atom-package-deps\lib\index.js:947:16)
.[Package-Deps] Error during showing installation progress to user Error: Can't create a view for Notification instance. Please register a view provider.
    at ViewRegistry.createView (D:\a\_temp\atom\Atom\resources\app.asar\src\view-registry.js:198:11)
    at ViewRegistry.getView (D:\a\_temp\atom\Atom\resources\app.asar\src\view-registry.js:133:19)
    at getView (D:\a\atom-ide-base\atom-ide-base\node_modules\atom-package-deps\lib\index.js:778:41)
    at Object.install (D:\a\atom-ide-base\atom-ide-base\node_modules\atom-package-deps\lib\index.js:947:16)
F[Package-Deps] Error during showing installation progress to user Error: Can't create a view for Notification instance. Please register a view provider.
    at ViewRegistry.createView (D:\a\_temp\atom\Atom\resources\app.asar\src\view-registry.js:198:11)
    at ViewRegistry.getView (D:\a\_temp\atom\Atom\resources\app.asar\src\view-registry.js:133:19)
    at getView (D:\a\atom-ide-base\atom-ide-base\node_modules\atom-package-deps\lib\index.js:778:41)
    at Object.install (D:\a\atom-ide-base\atom-ide-base\node_modules\atom-package-deps\lib\index.js:947:16)
.

For bin

Unable to install atom-ide-markdown-service, Error: Error: spawn apm ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
    at onErrorNT (internal/child_process.js:465:16)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
Unable to install atom-ide-datatip, Error: Error: spawn apm ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
    at onErrorNT (internal/child_process.js:465:16)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
Unable to install atom-ide-signature-help, Error: Error: spawn apm ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
    at onErrorNT (internal/child_process.js:465:16)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
Unable to install atom-ide-hyperclick, Error: Error: spawn apm ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
    at onErrorNT (internal/child_process.js:465:16)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
Unable to install atom-ide-definitions, Error: Error: spawn apm ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
    at onErrorNT (internal/child_process.js:465:16)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
Unable to install atom-ide-outline, Error: Error: spawn apm ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
    at onErrorNT (internal/child_process.js:465:16)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
Unable to install linter, Error: Error: spawn apm ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
Installation complete
All Done!
    at onErrorNT (internal/child_process.js:465:16)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
Unable to install linter-ui-default, Error: Error: spawn apm ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
    at onErrorNT (internal/child_process.js:465:16)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)