Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backend/python folder exists after using CLI when choosing a non-python backend #154

Open
1 of 3 tasks
gregmaxin opened this issue Jan 17, 2022 · 0 comments
Open
1 of 3 tasks
Assignees

Comments

@gregmaxin
Copy link
Member

gregmaxin commented Jan 17, 2022

Severity

  • Low
  • Moderate
  • Critical

Describe the bug

After using the CLI and NOT selecting a python backend the python backend folder still appears

Additional context

Case 1:
Node version: 16.13.2 or 12.18.3
Npm version 8.1.2

Case 2:
Node version: 16.13.1

To reproduce

Case 1:
Steps to reproduce the behavior:
1. Open a WSL (Version 1) terminal and run npx @uwblueprint/create-bp-app@latest
2. Choose the following options

? Which backend language would you like? TypeScript (Node/Express)
? Which API would you like? REST
? Which database would you like? MongoDB       
? Would you like built-in auth features? Yes
? Would you like built-in file storage features? Yes
? Which directory would you like the starter code folder to be in (default is current directory)? .
? You have chosen to create a TypeScript (Node/Express) app with a REST API, MongoDB database, built-in auth, and built-in file storage. Please confirm: Yes
  1. Received the following output
    Confirmed. Creating blueprint app...
Cloning into 'starter-code-v2'...
Checking out files: 100% (206/206), done.
Removing .git ...
node:internal/fs/utils:344
    throw err;
    ^

Error: ENOENT: no such file or directory, open 'starter-code-v2/backend/python/app/static/js/swagger-ui-es-bundle.js.map'
    at Object.openSync (node:fs:585:3)
    at Object.writeFileSync (node:fs:2153:35)
    at /home/gmaxin/.npm/_npx/35a9e27cd30586d3/node_modules/@uwblueprint/create-bp-app/bin/scrubber/scrubUtils.js:99:26  
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: 'starter-code-v2/backend/python/app/static/js/swagger-ui-es-bundle.js.map'
}
  1. cd starter-code-v2/ and notice backend\python exists

Case 2:

  1. Open Command Prompt and run npx @uwblueprint/create-bp-app@latest
  2. Choose the following options and receive the following error:
    image.png

Case 3:
image.png

Device information

Case 1:
Type: Desktop
OS: Windows 10 using WSL version 1
Browser: N/A

Case 2:
Type: Desktop
OS: Windows 11
Browser: N/A

@sherryhli sherryhli changed the title backend\python folder exists after using CLI when choosing a non-python backend backend/python folder exists after using CLI when choosing a non-python backend Jan 19, 2022
@matthewgeng matthewgeng self-assigned this Jan 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants