Regarding APM_PATH values #286
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR suggests filling in values for
APM_PATHto be full-paths.At the time of writing, the docs here mention:
export APM_PATH=/ppm/bin/apmAt least on Linux when I tried with the suggested value, the packages tab of the settings-view would not show totals for any of the package sections [1].
Using a full-path did work however.
The PR suggests prepending the existing value with
<pulsar-source>like:<pulsar-source>was chosen as it is used at the end of the same section in an example:[1] Error output in the console was like:
installed-packages-panel.js? [sm]:197 Fetching local packages failed. Error: Fetching local packages failed. at createProcessError (/home/user/src/pulsar/node_modules/settings-view/lib/package-manager.js:575:17) at /home/user/src/pulsar/node_modules/settings-view/lib/package-manager.js:583:19 at Function.simpleDispatch (/home/user/src/pulsar/node_modules/event-kit/dist/emitter.js:64:14) at Emitter.emit (/home/user/src/pulsar/node_modules/event-kit/dist/emitter.js:257:28) at BufferedProcess.handleError (/home/user/src/pulsar/src/buffered-process.js:326:18) at ChildProcess. (/home/user/src/pulsar/src/buffered-process.js:315:12) at ChildProcess.emit (events.js:315:20) at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) at onErrorNT (internal/child_process.js:465:16) at processTicksAndRejections (internal/process/task_queues.js:80:21) (anonymous) @ installed-packages-panel.js? [sm]:197I believe there were other adverse side-effects as an appropriate
apmbinary was not being called.