Beschreibung
Describe the bug
We are facing many error due to versions not pinned in package.json such as https://github.com/oppia/oppia/issues/22567#issuecomment-2997161974
We should also upgrade versions of package.
Error stack trace:
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './build/utils' is not defined by "exports" in /home/runner/work/oppia/oppia/node_modules/expect/package.json
at new NodeError (node:internal/errors:371:5)
at throwExportsNotFound (node:internal/modules/esm/resolve:440:9)
at packageExportsResolve (node:internal/modules/esm/resolve:692:3)
at resolveExports (node:internal/modules/cjs/loader:482:36)
at Function.Module._findPath (node:internal/modules/cjs/loader:522:31)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/home/runner/work/oppia/oppia/node_modules/jest-snapshot/build/printSnapshot.js:23:14)
INFO 2025-07-07 08:04:41,878 shutdown.py:48] Shutting down.
INFO 2025-07-07 08:04:42,435 instance.py:555] Detected GOOGLE_CLOUD_PROJECT=dev-project-id in environment variables
INFO 2025-07-07 08:04:42,440 stub_util.py:321] Applying all pending transactions and saving the datastore
INFO 2025-07-07 08:04:42,440 stub_util.py:324] Saving search indexes
INFO 2025-07-07 08:04:43,443 instance.py:293] Instance PID: 4247
ERROR 2025-07-07 08:04:43,444 module.py:1518] Internal error while handling warmup request.
Traceback (most recent call last):
File "/home/runner/work/oppia/oppia_tools/google-cloud-sdk-500.0.0/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py", line 1510, in _warmup
self._handle_request(
File "/home/runner/work/oppia/oppia_tools/google-cloud-sdk-500.0.0/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/module.py", line 797, in _handle_request
logservice = apiproxy_stub_map.apiproxy.GetStub('logservice')
AttributeError: module 'google.appengine.api.apiproxy_stub_map' has no attribute 'apiproxy'
CI failure link: https://github.com/oppia/oppia/actions/runs/16110935587/job/45454841541?pr=22536
URL of the page where the issue is observed.
Python Setup
Steps To Reproduce
Needs to be checked.
Expected Behavior
It should install third party dependencies properly.
Screenshots/Videos
No response
What device are you using?
Mobile, Desktop
Operating System
Linux
What browsers are you seeing the problem on?
No response
Browser version
No response
Additional context
No response
Tips for developers
Before addressing the bug, please identify which PR caused the issue (you can follow the steps here). If you identify the PR, comment on the issue with a link to it. If not, mention the commit hash of the oldest commit you saw the bug on (and the month and year it was made in).
Then, please leave a comment with details of the approach that you plan to take to fix the issue (see example).
Note: If this is your first Oppia issue, please make sure to follow our guidelines for choosing an issue and setting things up. You will also need to show a demo of the fix working correctly on your local machine. Thanks!