fix: webapp - wsl shell source not found #155
Merged
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.
fix: webapp - WSL Ubuntu shell
source
not foundA bug was found (see GitHub Issue #153), where when a user attempting to run the
npm run dev
ornpm run fastapi-dev
commands from within a (Windows) WSL Ubunutu Shell window, encounters the following error, which prevents the backend FastAPI server from running:sh: 1: source: not found
Given it appears that
source
is a command built-in and runnable on Bash and ZSH terminal environments, it is not available to use within the WSL Ubuntu shell by default.To fix this, a more universal substitute can be used in place of
source
, which is the period.
, which performs the same function in Bash, ZSH, and WSL Ubunutu terminal / shell environments.This commit also includes minor
webapp/README.md
updates to reformat lists to numbered lists for both theSetup
andDebugging
sections for improved clarity.Related Issue
Description
webapp/package.json
file to run source commands with the period. Replacingsource
with.
.webapp/README.md
to apply minor reformatting changes to lists on both theSetup
andDebugging
sections.Type
Proposed Changes
webapp/package.json
webapp/README.md
Screenshots / Code Snippets (if applicable)
N/A
How to Test
N/A
Checklist
Additional Information
N/A