You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"non-block-examples/09-code-data-basics-esnext" -> cannot run example: "Loading failed for the <script> with source “http://localhost:10033/wp-content/plugins/gtb-app/index.js?ver=2a64c5472c20f7b85e7a”."
#251
Open
karstengresch opened this issue
Apr 19, 2023
· 0 comments
I tried to follow along the example from https://developer.wordpress.org/block-editor/how-to-guides/data-basics/ using the plugin directory gtp-app. As I encountered the error described later, I replaced all files with the ones from GitHub and ran the build steps again with no success.
Used npm installnpm run start and everything seems to work fine:
Hi all,
I tried to follow along the example from https://developer.wordpress.org/block-editor/how-to-guides/data-basics/ using the plugin directory
gtp-app
. As I encountered the error described later, I replaced all files with the ones from GitHub and ran the build steps again with no success.Used
npm install
npm run start
and everything seems to work fine:The problem is that basically the
src/index.js
isn't loading and thus the components aren't shown.In the dev console, I get this error message:
Loading failed for the <script> with source “http://localhost:10033/wp-content/plugins/gtb-app/index.js?ver=2a64c5472c20f7b85e7a”.
The version string comes from
build/index.asset.php
:Not sure, but maybe the doc or the example (or my setup [or I ;-| ] need to be fixed?
The text was updated successfully, but these errors were encountered: