I created successfully Docker image. But when trying to run the image by this command
docker run -it -p 5002:5002 --name myapp-conn mymicro
I am getting the following error, here is the error logs:
2025-02-02 23:10:01 node:internal/modules/cjs/loader:1397
2025-02-02 23:10:01 throw err;
2025-02-02 23:10:01 ^
2025-02-02 23:10:01
2025-02-02 23:10:01 Error: Cannot find module '/app/yarn dev'
2025-02-02 23:10:01 at Function._resolveFilename (node:internal/modules/cjs/loader:1394:15)
2025-02-02 23:10:01 at defaultResolveImpl (node:internal/modules/cjs/loader:1050:19)
2025-02-02 23:10:01 at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1055:22)
2025-02-02 23:10:01 at Function._load (node:internal/modules/cjs/loader:1204:37)
2025-02-02 23:10:01 at TracingChannel.traceSync (node:diagnostics_channel:322:14)
2025-02-02 23:10:01 at wrapModuleLoad (node:internal/modules/cjs/loader:234:24)
2025-02-02 23:10:01 at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:151:5)
2025-02-02 23:10:01 at node:internal/main/run_main_module:33:47 {
2025-02-02 23:10:01 code: 'MODULE_NOT_FOUND',
2025-02-02 23:10:01 requireStack: []
2025-02-02 23:10:01 }
2025-02-02 23:10:01
2025-02-02 23:10:01 Node.js v23.7.0
From appliaction I run the project successfull by command
yarn dev
I changed the port several time, its run successfully.
But after making image-> run-> I am getting same error again & again
Given the large number of AWS services and the varying number of CLI commands for each service, it's difficult to provide an exact count of the total number of CLI AWS commands. However, a rough estimate would be in the range of several thousand CLI commands across all AWS services.
Specifically, considering the number of services and the typical number of CLI commands per service, the total number of CLI AWS commands is likely in the range of 3,000 to 5,000 or more.