nodejs-goof
nodejs-goof copied to clipboard
[BUG]: Connect 500 TypeError: Busboy is not a constructor
Is there an existing issue for this?
- [X] I have searched the existing issues
Description of the bug
Connect 500 TypeError: Busboy is not a constructor
Steps To Reproduce
- Open localhost:3001
- Insert an input in the todolist app
Additional Information
Managed to solve it via - npm install [email protected]
@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.
Steps to solve in Dockerfile
- Edit the dependencies object in
package.json
- 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",
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?
@essexgit Thanks for your feedback I submitted a pull request just now. Let's see what the developers think.