stale-baker-91904
09/02/2025, 10:22 PMcd apps/api && npm test --silent
And then just freezes up
I tried debugging by accessing the docker container and running the command manually and it looks like the issue may be that openhands doesn't know how to press Y when confirmation prompts appear
Need to install the following packages:
jest@30.1.3
Ok to proceed? (y)
Anyone know how I can work around this?polite-architect-52194
09/02/2025, 10:55 PM paul /tmp/test-npm v23.11.0 18:53
npm run test
> test-npm@1.0.0 test
> npx jest
Need to install the following packages:
jest@29.7.0
Ok to proceed? (y)
npm error canceled
npm error A complete log of this run can be found in: /home/paul/.npm/_logs/2025-09-02T22_53_52_693Z-debug-0.log
paul /tmp/test-npm v23.11.0 18:53
echo "yes" | npm run test
> test-npm@1.0.0 test
> npx jest
npm warn exec The following package was not found and will be installed: jest@29.7.0
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /tmp/test-npm
2 files checked.
testMatch: **/__tests__/**/*.[jt]s?(x), **/?(*.)+(spec|test).[tj]s?(x) - 0 matches
testPathIgnorePatterns: /node_modules/ - 2 matches
testRegex: - 0 matches
Pattern: - 0 matches
cat package.json
{
"name": "test-npm",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "npx jest"
},
"keywords": [],
"author": "",
"license": "ISC",
"type": "commonjs"
}limited-student-10747
09/02/2025, 11:11 PMstale-baker-91904
09/02/2025, 11:28 PMstale-baker-91904
09/02/2025, 11:34 PMstale-baker-91904
09/02/2025, 11:36 PMlimited-student-10747
09/02/2025, 11:37 PMlimited-student-10747
09/02/2025, 11:38 PMstale-baker-91904
09/02/2025, 11:42 PM