Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot start project #2568

Closed
marsianjohncarter opened this issue Apr 6, 2024 · 3 comments
Closed

Cannot start project #2568

marsianjohncarter opened this issue Apr 6, 2024 · 3 comments
Assignees
Labels
coding This issue requires some programming invalid The issue is not from the project or a "won't fix" pipeline Affects how the project is being developed

Comments

@marsianjohncarter
Copy link

marsianjohncarter commented Apr 6, 2024

Describe the bug
When I run the program via npm run start, I get multiple errors.

To Reproduce
Steps to reproduce the behavior:

  1. Run npm run start

Expected behavior
The app starts and I can acess the game

Errors:

1

Compiled with problems:

WARNING
asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets: 
  assets/647561b8960feafbb7a6..gif (261 KiB)
  assets/03c21f76fbf4674974a5..ogg (1.71 MiB)
  assets/c2214bdf35750743ec32..ogg (2.86 MiB)
  assets/3d590683bc21ee706809..ogg (2.94 MiB)
  assets/0c69d181053f0dfdf02b..ogg (3.52 MiB)
  assets/13fa7d1f597e0c7881be..ogg (5.49 MiB)
  assets/7030b3bebaf25ed0d7d2..ogg (3.24 MiB)
  assets/d8b81a839562d181752e..ogg (3.06 MiB)
  assets/ad26797556a3d2ce6412..ogg (3.29 MiB)
  assets/b959e80f6d08134998cd..ogg (2.88 MiB)
  assets/36ccd3896a3e4fb5c8de..ogg (3.21 MiB)
  assets/9605e5d3713864fd343b..ogg (2.77 MiB)
  assets/e355e4fc667320b9a683..ogg (3.24 MiB)
  assets/2d607f69ae5d7f7afd34..ogg (7 MiB)
  assets/40a30beb49d97277d181..ogg (4.54 MiB)
  assets/e39f11c4f37dd594cb5d..ogg (4.7 MiB)
  assets/341376a360bda3fc90f2..ogg (3.04 MiB)
  assets/13a89453d1638e4e2104..ogg (4.92 MiB)
  vendor.2d71741fff087cc03b6d.bundle.js (937 KiB)
  app.c34edf1d31efc845c95c.bundle.js (2.49 MiB)
WARNING
entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  vendor (937 KiB)
      vendor.2d71741fff087cc03b6d.bundle.js
  app (2.49 MiB)
      app.c34edf1d31efc845c95c.bundle.js

2

Compiled with problems:

WARNING
asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets: 
  assets/647561b8960feafbb7a6..gif (261 KiB)
  assets/03c21f76fbf4674974a5..ogg (1.71 MiB)
  assets/c2214bdf35750743ec32..ogg (2.86 MiB)
  assets/3d590683bc21ee706809..ogg (2.94 MiB)
  assets/0c69d181053f0dfdf02b..ogg (3.52 MiB)
  assets/13fa7d1f597e0c7881be..ogg (5.49 MiB)
  assets/7030b3bebaf25ed0d7d2..ogg (3.24 MiB)
  assets/d8b81a839562d181752e..ogg (3.06 MiB)
  assets/ad26797556a3d2ce6412..ogg (3.29 MiB)
  assets/b959e80f6d08134998cd..ogg (2.88 MiB)
  assets/36ccd3896a3e4fb5c8de..ogg (3.21 MiB)
  assets/9605e5d3713864fd343b..ogg (2.77 MiB)
  assets/e355e4fc667320b9a683..ogg (3.24 MiB)
  assets/2d607f69ae5d7f7afd34..ogg (7 MiB)
  assets/40a30beb49d97277d181..ogg (4.54 MiB)
  assets/e39f11c4f37dd594cb5d..ogg (4.7 MiB)
  assets/341376a360bda3fc90f2..ogg (3.04 MiB)
  assets/13a89453d1638e4e2104..ogg (4.92 MiB)
  vendor.2d71741fff087cc03b6d.bundle.js (937 KiB)
  app.c34edf1d31efc845c95c.bundle.js (2.49 MiB)
WARNING
entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  vendor (937 KiB)
      vendor.2d71741fff087cc03b6d.bundle.js
  app (2.49 MiB)
      app.c34edf1d31efc845c95c.bundle.js

These two errors appear before anything. Now these two appear after I press "Start Game":

3

Compiled with problems:

ERROR
k.map is not a function
TypeError: k.map is not a function
    at http://localhost:8080/app.c34edf1d31efc845c95c.bundle.js:2:2400434
    at http://localhost:8080/app.c34edf1d31efc845c95c.bundle.js:2:2400971
    at Object.loadGame (http://localhost:8080/app.c34edf1d31efc845c95c.bundle.js:2:2401012)
    at h (http://localhost:8080/app.c34edf1d31efc845c95c.bundle.js:2:2423449)
    at HTMLFormElement.<anonymous> (http://localhost:8080/app.c34edf1d31efc845c95c.bundle.js:2:2423616)
    at HTMLFormElement.dispatch (http://localhost:8080/app.c34edf1d31efc845c95c.bundle.js:2:291668)
    at m.handle (http://localhost:8080/app.c34edf1d31efc845c95c.bundle.js:2:289663)

4

Compiled with problems:

ERROR
k.map is not a function
TypeError: k.map is not a function
    at http://localhost:8080/app.c34edf1d31efc845c95c.bundle.js:2:2400434
    at http://localhost:8080/app.c34edf1d31efc845c95c.bundle.js:2:2400971
    at Object.loadGame (http://localhost:8080/app.c34edf1d31efc845c95c.bundle.js:2:2401012)
    at h (http://localhost:8080/app.c34edf1d31efc845c95c.bundle.js:2:2423449)
    at HTMLFormElement.<anonymous> (http://localhost:8080/app.c34edf1d31efc845c95c.bundle.js:2:2423616)
    at HTMLFormElement.dispatch (http://localhost:8080/app.c34edf1d31efc845c95c.bundle.js:2:291668)
    at m.handle (http://localhost:8080/app.c34edf1d31efc845c95c.bundle.js:2:289663)

Desktop (please complete the following information):

  • OS: Ubuntu 24.04
  • Browser: Chrome
  • Version: I don't know. I got the one from gitpod.

Additional context
After these errors the loading screen appears and it continues loading forever.

@DreadKnight
Copy link
Member

DreadKnight commented Apr 8, 2024

@marsianjohncarter Heya! After npm install try npm run build:dev and then npm run start:dev. Any luck?

@DreadKnight

This comment was marked as outdated.

@DreadKnight DreadKnight added coding This issue requires some programming pipeline Affects how the project is being developed labels Apr 8, 2024
@DreadKnight DreadKnight self-assigned this Apr 8, 2024
@tiwarirakshit
Copy link

@marsianjohncarter Have you tried doing npm start --reset-cache?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coding This issue requires some programming invalid The issue is not from the project or a "won't fix" pipeline Affects how the project is being developed
Projects
None yet
Development

No branches or pull requests

3 participants