-
Notifications
You must be signed in to change notification settings - Fork 123
Description
Describe the bug
Starting with 'docker-compose up' ends in 'exit 1' due error 'Error: No such module: http_parser'
Looks this is a node.js problem with V25, maybe work with/until V24.
To Reproduce
Steps to reproduce the behavior:
Start mimic-recording-studio from its directory with 'docker-compose-up'
Expected behavior
Application is running in docker
Log files
yarn install v1.22.22
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
(node:8) [DEP0169] DeprecationWarning: url.parse() behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for url.parse() vulnerabilities.
(Use node --trace-deprecation ... to show where the warning was created)
success Already up-to-date.
Done in 0.11s.
yarn run v1.22.22
$ react-scripts start
node:internal/bootstrap/realm:162
throw new Error(No such module: ${module});
^
Error: No such module: http_parser
at process.binding (node:internal/bootstrap/realm:162:11)
at Object. (/src/node_modules/http-deceiver/lib/deceiver.js:22:24)
at Module._compile (node:internal/modules/cjs/loader:1803:14)
at Object..js (node:internal/modules/cjs/loader:1934:10)
at Module.load (node:internal/modules/cjs/loader:1524:32)
at Module._load (node:internal/modules/cjs/loader:1326:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at Module.require (node:internal/modules/cjs/loader:1547:12)
at require (node:internal/modules/helpers:152:16)
Node.js v25.5.0
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
mimic-recording-studio@0.1.0 start
react-scripts start
node:internal/bootstrap/realm:162
throw new Error(No such module: ${module});
^
Environment (please complete the following information):
- Device type: [Apple MacBook M4 Pro]
- OS: [MacOS 26.2 (25C56)]
- Docker Desktop 4.58.1
Additional context
-none-