You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the code using Docker on my local machine, it doesn't execute properly. I'm encountering the following errors:
There’s an issue with the mailgun.js module, indicating that the version or dependency is not updated. Even though I have updated it, the issue persists.
Another problem is that the manifest.json file is not found at the specified path (./dist/static/manifest.json). Even though it is present there.
Expected Behavior
I want the code to run properly(without any issues) on my local machine.
Steps to reproduce
...
The text was updated successfully, but these errors were encountered:
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.
As i work on these and Deep dive into the Documentation and Architechure .The error occurs because the manifest.json file, required by the application, is not generated or present in the dist/static directory. This happens because the build process was not completed before starting the application.
Root Cause:
The issue arises when developers attempt to directly run the command:
docker-compose -f docker-compose-development.yml run --rm app npm run fetch-examples
without first completing the required build process. The manifest.json file is created during the build step, which must be executed before running any further commands.
To resolve this, follow the installation documentation properly. Specifically, ensure that the build step is completed first. Run the following command to build the application:
docker-compose -f docker-compose-development.yml run --rm app npm run build
Once the build process is complete and the necessary files (like manifest.json) are generated, you can proceed with:
docker-compose -f docker-compose-development.yml run --rm app npm run fetch-examples
Why This Happens:
Skipping the build step results in missing files like manifest.json, causing the application to throw a MODULE_NOT_FOUND error. Ensuring the build process is run first prevents such issues.
p5.js version
No response
What is your operating system?
Mac OS
Web browser and version
No response
Actual Behavior
When I run the code using Docker on my local machine, it doesn't execute properly. I'm encountering the following errors:
Expected Behavior
I want the code to run properly(without any issues) on my local machine.
Steps to reproduce
...
The text was updated successfully, but these errors were encountered: