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

Stackblitz can't run the showcase application in Europe #94

Open
TapaiBalazs opened this issue Jun 29, 2022 · 3 comments
Open

Stackblitz can't run the showcase application in Europe #94

TapaiBalazs opened this issue Jun 29, 2022 · 3 comments
Assignees
Labels
blocked bug Something isn't working

Comments

@TapaiBalazs
Copy link
Contributor

IF you open the repository in stackblitz, the start command does not start up the showcase application. Investigate if the same issue happens locally. If not, then investigate what can go wrong in stackblitz.

@TapaiBalazs TapaiBalazs added bug Something isn't working help wanted Extra attention is needed labels Jun 29, 2022
@TapaiBalazs TapaiBalazs self-assigned this Jun 30, 2022
@TapaiBalazs
Copy link
Contributor Author

When I import the project, this is the output I get. It says that the NX Daemon is not running.

~/projects/qgniylalb.github
❯ npm install && npm start
warn preInstall No description field
┌ [1/4] 🔍  Resolving dependencies
└ Completed in 0.317s
┌ [2/4] 🚚  Fetching dependencies
│ info pruneDeps Excluding 25 dependencies. For more information use `--verbose`.
└ Completed in 2.1s
┌ [3/4] 🔗  Linking dependencies
└ Completed in 1.57s
info security We found `install` scripts which turbo skips for security reasons. For more information see
https://turbo.sh/install-scripts.
├─ @nrwl/angular@14.3.5
├─ nx@14.3.6
├─ @parcel/watcher@2.0.4
├─ core-js@3.23.1
├─ core-js-pure@3.23.1
├─ cypress@8.7.0
├─ esbuild@0.14.38
├─ esbuild@0.14.11
└─ nx@14.3.5
info Some packages were automatically replaced with polyfills. For more information see https://turbo.sh/polyfills.
├─ esbuild@0.14.38 => esbuild-wasm@0.14.38
└─ esbuild@0.14.11 => esbuild-wasm@0.14.11
$ node ./decorate-angular-cli.js && ngcc --properties es2020 browser module main

 >  NX   Angular CLI has been decorated to enable computation caching.


success Saved lockfile "package-lock.json"
success Updated "package.json"

success Install finished in 6.446s
$ nx serve showcase
nx run [project][:target][:configuration] [_..]

Run a target for a project
(e.g., nx run myapp:serve:production).

You can also use the infix notation to run a target:
(e.g., nx serve myapp --configuration=production)

You can skip the use of Nx cache by using the --skip-nx-cache option.

Options:
      --version           Show version number                                                                      [boolean]
      --prod              Use the production configuration                                        [boolean] [default: false]
  -c, --configuration     Target configuration                                                                      [string]
      --project           Target project                                                                            [string]
      --output-style      Defines how Nx emits outputs tasks logs
                                     [string] [choices: "dynamic", "static", "stream", "stream-without-prefixes", "compact"]
      --nx-bail           Stop command execution after the first failed task                      [boolean] [default: false]
      --nx-ignore-cycles  Ignore cycles in the task graph                                         [boolean] [default: false]

Error: The Daemon Server is not running
Messages from the log:



More information: /home/projects/qgniylalb.github/node_modules/.cache/nx/d/daemon.log
    at daemonProcessException (/home/projects/qgniylalb.github/node_modules/nx/src/daemon/client/client.js:66:16)
    at Socket.eval (/home/projects/qgniylalb.github/node_modules/nx/src/daemon/client/client.js:148:29)
    at EventEmitter.emit (https://qgniylalb--github.w.staticblitz.com/blitz.8628379add68b16c6c7b3320a61a65ef38aa83fd.js:6:155573)
    at emitErrorNT (https://qgniylalb--github.w.staticblitz.com/blitz.8628379add68b16c6c7b3320a61a65ef38aa83fd.js:6:367810)
    at emitErrorCloseNT (https://qgniylalb--github.w.staticblitz.com/blitz.8628379add68b16c6c7b3320a61a65ef38aa83fd.js:6:367457)
    at _0x2b9b99 (https://qgniylalb--github.w.staticblitz.com/blitz.8628379add68b16c6c7b3320a61a65ef38aa83fd.js:15:130586)
    at https://qgniylalb--github.w.staticblitz.com/blitz.8628379add68b16c6c7b3320a61a65ef38aa83fd.js:15:130343

@TapaiBalazs
Copy link
Contributor Author

So I noticed a pattern that it runs for people who are based in Africa, but it does not run for people based in Europe.
Based on that I created this issue at the webcontainer repository:

stackblitz/webcontainer-core#735

@TapaiBalazs TapaiBalazs added blocked and removed help wanted Extra attention is needed labels Jun 30, 2022
@TapaiBalazs TapaiBalazs changed the title Stackblitz can't run the showcase application Stackblitz can't run the showcase application in Europe Jun 30, 2022
@TapaiBalazs
Copy link
Contributor Author

Update: today it works for me in Europe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant