By removing the http from my comment I could then save here in this message board, not in frontity.Īs I mentioned the only thing I changed in the was my url. Hello and thanks for responding! My url property indeed has the http protocol…I removed it as mentioned in the note above as I was prompted with an alert stating I was new and could not post more than 2 links in a comment.
There isn’t anything for me to upload to a repo as I’m using the default install and only changed the url and my wordpress sites is in dev and only accessible locally right now. I can use and access the api using Postman.Įxact error in terminal: FetchError: request to localhost:8000/wp-json/wp/v2/posts?_embed=true&page=1 failed, reason: socket hang upĪt ClientRequest.eval (webpack-internal:///./node_modules/node-fetch/lib/index.mjs:1465:11)Īt ClientRequest.emit (node:events:376:20)Īt (node:domain:470:12)Īt Socket.socketOnEnd (node:_http_client:498:9)Īt (node:domain:470:12)Īt endReadableNT (node:internal/streams/readable:1305:12)Īt processTicksAndRejections (node:internal/process/task_queues:80:21) Wordpress site Hosted locally from Docker (Windows 10) and runs without error. NOTE: I’ve removed “ from my urls as I kept getting an error and couldn’t save. Everything works fine apart from the GCC debugger which we usually use. To enable the feature, either use the Toggle Auto Attach command from the Command Palette ( Ctrl+Shift+P) or, if it's already activated, use the Auto Attach Status bar item. Ive just setup VSCode to work from home with my remote SSH that runs Gentoo 圆4. I’ve checked all suggestions as far as s, default pages etc. If the Auto Attach feature is enabled, the Node debugger automatically attaches to certain Node.js processes that have been launched from VS Code's Integrated Terminal. I tried changing the wpsource from “url”: “localhost:8000” to “api”: “localhost:8000/wp-json”. What are the possible reasons this error is thrown?
I do however see an error in VSCode, the url it’s trying to reach returns a full page of JSON. To do this, click to the left of the specific lines of code where you want to set your break point. You may want to set a break point inside of your GameTest function. Start Minecraft and load into a world with your scripting behavior pack. I don’t see any error in Chrome DevTools others than the error mentioned. This will put Visual Studio Code into listen for a debugging connection mode.
I wanted to see what my data looked like but instead I get an Internal Server Error.
I followed the directions and was able to view the demo/default installation. I am new to frontity and would like to get familiar but I’m having a hard time connecting to my local instance.