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

Upgrade Playground dependencies v0.9.26 #392

Closed
wants to merge 2 commits into from

Conversation

sejas
Copy link
Member

@sejas sejas commented Jul 26, 2024

Proposed Changes

  • Upgrade Playground dependencies to v0.9.26

Testing Instructions

  • Tests should pass
  • Creating, Starting and Stopping sites should work the same

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?

@sejas sejas self-assigned this Jul 26, 2024
@sejas
Copy link
Member Author

sejas commented Jul 26, 2024

Currently getting this error when running "npm start"
App threw an error during load
Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/macbookpro/Documents/projects-m3.nosync/studio/node_modules/@php-wasm/util/index.js from /Users/macbookpro/Documents/projects-m3.nosync/studio/node_modules/@php-wasm/universal/index.cjs not supported.
Instead change the require of index.js in /Users/macbookpro/Documents/projects-m3.nosync/studio/node_modules/@php-wasm/universal/index.cjs to a dynamic import() which is available in all CommonJS modules.
    at c._load (node:electron/js2c/node_init:2:13672)
    at Module. (/Users/macbookpro/Documents/projects-m3.nosync/studio/node_modules/@php-wasm/universal/index.cjs:1:552)
    at c._load (node:electron/js2c/node_init:2:13672)
    at Object. (/Users/macbookpro/Documents/projects-m3.nosync/studio/node_modules/@php-wasm/node/index.cjs:66863:24)
    at c._load (node:electron/js2c/node_init:2:13672)
    at @php-wasm/node (/Users/macbookpro/Documents/projects-m3.nosync/studio/.webpack/main/index.js:209508:18)
    at __webpack_require__ (/Users/macbookpro/Documents/projects-m3.nosync/studio/.webpack/main/index.js:228160:42)
    at ./vendor/wp-now/src/wp-now.ts (/Users/macbookpro/Documents/projects-m3.nosync/studio/.webpack/main/index.js:208708:16)
    at __webpack_require__ (/Users/macbookpro/Documents/projects-m3.nosync/studio/.webpack/main/index.js:228160:42)
    at ./vendor/wp-now/src/config.ts (/Users/macbookpro/Documents/projects-m3.nosync/studio/.webpack/main/index.js:207655:18)
    at __webpack_require__ (/Users/macbookpro/Documents/projects-m3.nosync/studio/.webpack/main/index.js:228160:42)
    at ./vendor/wp-now/src/index.ts (/Users/macbookpro/Documents/projects-m3.nosync/studio/.webpack/main/index.js:208428:34)
    at __webpack_require__ (/Users/macbookpro/Documents/projects-m3.nosync/studio/.webpack/main/index.js:228160:42)
    at ./src/main-window.ts (/Users/macbookpro/Documents/projects-m3.nosync/studio/.webpack/main/index.js:206369:15)
    at __webpack_require__ (/Users/macbookpro/Documents/projects-m3.nosync/studio/.webpack/main/index.js:228160:42)
    at ./src/lib/oauth.ts (/Users/macbookpro/Documents/projects-m3.nosync/studio/.webpack/main/index.js:204914:23)
    at __webpack_require__ (/Users/macbookpro/Documents/projects-m3.nosync/studio/.webpack/main/index.js:228160:42)
    at ./src/ipc-handlers.ts (/Users/macbookpro/Documents/projects-m3.nosync/studio/.webpack/main/index.js:202542:34)
    at __webpack_require__ (/Users/macbookpro/Documents/projects-m3.nosync/studio/.webpack/main/index.js:228160:42)
    at ./src/index.ts (/Users/macbookpro/Documents/projects-m3.nosync/studio/.webpack/main/index.js:202214:34)
    at __webpack_require__ (/Users/macbookpro/Documents/projects-m3.nosync/studio/.webpack/main/index.js:228160:42)
    at /Users/macbookpro/Documents/projects-m3.nosync/studio/.webpack/main/index.js:228246:37
    at Object. (/Users/macbookpro/Documents/projects-m3.nosync/studio/.webpack/main/index.js:228249:12)
    at c._load (node:electron/js2c/node_init:2:13672)
    at async loadApplicationPackage (file:///Users/macbookpro/Documents/projects-m3.nosync/studio/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js:129:9)
    at async file:///Users/macbookpro/Documents/projects-m3.nosync/studio/node_modules/electron/dist/Electron.app/Contents/Resources/default_app.asar/main.js:241:9
2024-07-26 19:40:10.558 Electron[48883:3269071] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:.

@sejas sejas changed the title Upgrade Playground dependencies Upgrade Playground dependencies v0.9.26 Jul 26, 2024
@sejas
Copy link
Member Author

sejas commented Sep 2, 2024

Closing in favor of #491

@sejas sejas closed this Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant