I am encountering an error when running the entrypoint.sh script for the Redis stack. The error message indicates that the module /share/redisinsight/api/dist/src/main.js cannot be found.
Error: Cannot find module '/share/redisinsight/api/dist/src/main.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Module._load (node:internal/modules/cjs/loader:922:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Steps to Reproduce
- Run the
entrypoint.sh script with the current configuration.
- Observe the error message indicating the missing module.
Expected Behavior
The script should run without errors and start the Redis stack successfully (including the RedisInsight).
Possible Cause
The error suggests that the file /share/redisinsight/api/dist/src/main.js is missing or the path is incorrect.
Suggested Fix
If the path is incorrect, update the entrypoint.sh script to point to the correct location of the main.js file.
I am encountering an error when running the
entrypoint.shscript for the Redis stack. The error message indicates that the module/share/redisinsight/api/dist/src/main.jscannot be found.Steps to Reproduce
entrypoint.shscript with the current configuration.Expected Behavior
The script should run without errors and start the Redis stack successfully (including the RedisInsight).
Possible Cause
The error suggests that the file
/share/redisinsight/api/dist/src/main.jsis missing or the path is incorrect.Suggested Fix
If the path is incorrect, update the
entrypoint.shscript to point to the correct location of themain.jsfile.