Running make run-devserver
fails without any helpful error message
#20331
-
Operating SystemLinux Mint RAM size16 GB Which step are you stuck on?
Error Logdocker compose up angular-build -d
[+] Running 1/1
✔ Container oppia-angular-build Started 0.0s
make update.package
make[1]: Entering directory '~/open-source/oppia'
docker compose exec angular-build yarn install --pure-lockfile
yarn install v1.22.15
[1/4] Resolving packages...
[2/4] Fetching packages...
warning Pattern ["@definitelytyped/typescript-versions@latest"] is trying to unpack in the same destination "/root/.yarn-cache/v6/npm-@definitelytyped-typescript-versions-0.0.140-f7dd6d67fba93b590f543ff65ce55e3d4fbbee04-integrity/node_modules/@definitelytyped/typescript-versions" as pattern ["@definitelytyped/typescript-versions@^0.0.140","@definitelytyped/typescript-versions@^0.0.140","@definitelytyped/typescript-versions@^0.0.140"]. This could result in non-deterministic behavior, skipping.
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.13: The platform "linux" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
info @ffmpeg-installer/darwin-arm64@4.1.5: The platform "linux" is incompatible with this module.
info "@ffmpeg-installer/darwin-arm64@4.1.5" is an optional dependency and failed compatibility check. Excluding it from installation.
info @ffmpeg-installer/darwin-arm64@4.1.5: The CPU architecture "x64" is incompatible with this module.
info @ffmpeg-installer/darwin-x64@4.1.0: The platform "linux" is incompatible with this module.
info "@ffmpeg-installer/darwin-x64@4.1.0" is an optional dependency and failed compatibility check. Excluding it from installation.
info @ffmpeg-installer/linux-arm@4.1.3: The CPU architecture "x64" is incompatible with this module.
info "@ffmpeg-installer/linux-arm@4.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
info @ffmpeg-installer/linux-arm64@4.1.4: The CPU architecture "x64" is incompatible with this module.
info "@ffmpeg-installer/linux-arm64@4.1.4" is an optional dependency and failed compatibility check. Excluding it from installation.
info @ffmpeg-installer/linux-ia32@4.1.0: The CPU architecture "x64" is incompatible with this module.
info "@ffmpeg-installer/linux-ia32@4.1.0" is an optional dependency and failed compatibility check. Excluding it from installation.
info @ffmpeg-installer/win32-ia32@4.1.0: The platform "linux" is incompatible with this module.
info "@ffmpeg-installer/win32-ia32@4.1.0" is an optional dependency and failed compatibility check. Excluding it from installation.
info @ffmpeg-installer/win32-ia32@4.1.0: The CPU architecture "x64" is incompatible with this module.
info @ffmpeg-installer/win32-x64@4.1.0: The platform "linux" is incompatible with this module.
info "@ffmpeg-installer/win32-x64@4.1.0" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > @angular/elements@11.2.10" has incorrect peer dependency "@angular/core@11.2.10".
warning " > @angular/elements@11.2.10" has incorrect peer dependency "@angular/platform-browser@11.2.10".
warning " > @ng-bootstrap/ng-bootstrap@9.1.3" has unmet peer dependency "@angular/localize@^11.0.0".
warning " > ngx-joyride@2.3.1" has incorrect peer dependency "tslib@^1.10.0".
warning " > ngx-translate-cache@9.0.2" has incorrect peer dependency "@angular/common@^9.1.0".
warning " > ngx-translate-cache@9.0.2" has incorrect peer dependency "@angular/core@^9.1.0".
warning " > ngx-translate-cache@9.0.2" has incorrect peer dependency "tslib@^1.10.0".
warning "firebase-admin > @firebase/database-compat > @firebase/database > @firebase/auth-interop-types@0.1.7" has unmet peer dependency "@firebase/app-types@0.x".
warning Workspaces can only be enabled in private projects.
[#####-------------------------------------------------------------------------------------------------------------------] 3070/69823make[1]: *** [Makefile:100: update.package] Error 137
make[1]: Leaving directory '~/open-source/oppia'
make: *** [Makefile:48: run-devserver] Error 2 Approaches already used to resolve the issueI configured the resources I was allocating to Docker to the following:
The same response occurred upon running the same command. Additional informationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
@StephenYu2018 I found this SO thread about "error 137" for Docker. Do any of the ideas mentioned there help? https://stackoverflow.com/questions/59296801/docker-compose-exit-code-is-137-when-there-is-no-oom-exception |
Beta Was this translation helpful? Give feedback.
-
@seanlip I took a look at the logs for the
|
Beta Was this translation helpful? Give feedback.
-
@StephenYu2018 Can you run Let me know if the issue continues to persist. |
Beta Was this translation helpful? Give feedback.
-
@seanlip @gp201 I managed to unblock myself by reinstalling Oppia in a folder outside of my old The reinstalled copy of Oppia runs successfully. |
Beta Was this translation helpful? Give feedback.
@seanlip @gp201 I managed to unblock myself by reinstalling Oppia in a folder outside of my old
/open-source
folder. I think the problem might have to do with the fact that when I was transitioning from Python to Docker, I never got rid of the folders containing Python setup dependencies that were in/open-source
and outside of/open-source/oppia
.The reinstalled copy of Oppia runs successfully.