playground-tools icon indicating copy to clipboard operation
playground-tools copied to clipboard

wp-now: Error on stackblitz.com

Open adamziel opened this issue 1 year ago • 8 comments

@schlessera and I tried running wp-now on Stackblitz, but it failed with the following error. My guess is it attempted to make a network connection but Stackblitz doesn't support those:

npx @wp-now/wp-now php test.php
You are running Node.js version 16, but this application recommends at least Node.js 18 and isn't guaranteed to work on lower versions. Please upgrade your Node.js version.
Error: socket hang up
    at connResetException (https://wpcli-xt3q.w-credentialless.staticblitz.com/blitz.bf38680a.js:35:8261)
    at TLSSocket.socketOnEnd (https://wpcli-xt3q.w-credentialless.staticblitz.com/blitz.bf38680a.js:35:1190705)
    at EventEmitter.emit (https://wpcli-xt3q.w-credentialless.staticblitz.com/blitz.bf38680a.js:35:156947)
    at endReadableNT (https://wpcli-xt3q.w-credentialless.staticblitz.com/blitz.bf38680a.js:35:731446)
    at _0x202448 (https://wpcli-xt3q.w-credentialless.staticblitz.com/blitz.bf38680a.js:44:153173)
    at https://wpcli-xt3q.w-credentialless.staticblitz.com/blitz.bf38680a.js:44:152912 {
  code: 'ECONNRESET'
} (

The same command worked in @php-wasm/cli so it's not a Playground issue.

adamziel avatar Jun 14 '23 13:06 adamziel