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

[BUG]: Connect 500 TypeError: Busboy is not a constructor #1310

Open
1 task done
afiksnyk opened this issue Apr 5, 2023 · 4 comments
Open
1 task done

[BUG]: Connect 500 TypeError: Busboy is not a constructor #1310

afiksnyk opened this issue Apr 5, 2023 · 4 comments
Labels

Comments

@afiksnyk
Copy link

afiksnyk commented Apr 5, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

Connect 500 TypeError: Busboy is not a constructor

Steps To Reproduce

  1. Open localhost:3001
  2. Insert an input in the todolist app

Additional Information

Managed to solve it via - npm install [email protected]

@afiksnyk afiksnyk added the bug label Apr 5, 2023
@ryanjonesrocks
Copy link

@afiksnyk Is there any way to resolve this in the Docker container?

Currently have run into the same issue where the application, which was tested in a Docker container, is currently experiencing issues with a dependency. This results in a 500 TypeError with the message "Busboy is not a constructor". Additionally, the TODO list feature of the application is no longer functioning.

@ryanjonesrocks
Copy link

Steps to solve in Dockerfile

  1. Edit the dependencies object in package.json
  2. Replace the following two dependencies to more up to date versions

Before

    "express": "4.12.4",
    "express-fileupload": "0.0.5",

After

  "express": "4.17.1",
  "express-fileupload": "1.4.0",

@essexgit
Copy link

Hey Guy - this worked for me - I had almost given up - has this gone through as a pull request? or does it need more testing?

ryanjonesrocks added a commit to ryanjonesrocks/nodejs-goof that referenced this issue Aug 21, 2023
 [BUG]: Connect 500 TypeError: Busboy is not a constructor snyk-labs#1310
@ryanjonesrocks
Copy link

@essexgit Thanks for your feedback I submitted a pull request just now. Let's see what the developers think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants