Failed to load resource in webstorm - webstorm

I just downloaded the trial version of WebStorm and tried out jQuery boilerplate demo on it.
If i use "Open page in browser" everything gets loaded fine and i get the console.log("xD") just fine. However if I try to debug this using Chrome I get this:
Failed to load resource: the server responded with a status of 404 (Not Found) js\jquery.boilerplate.js:24
js\jquery.boilerplate.js:24
js\jquery.boilerplate.js:43
I have the JetBrains addon installed in Chrome and i've pointed the debugger to the index.html file.
Can anyone tell me what i'm missing here?

Related

Postman "Error creating interceptor session"

I installed the Postman interceptor Chrome extension, the Postman interceptor and the custom Node version I was asked to install and once I try to start the capture I get a toast telling me that there is an "Error creating interceptor session" without any further useful information.
Following the troubleshooting tips I verified that:
Chrome is installed
the directory ~/Library/Application Support/Google/Chrome/NativeMessagingHosts exists.
I have a working internet connection.
my firewall allows Postman to connect to the internet.
I have permissions to read and write in the ~/.postman/InterceptorBridge directory.
I have write permissions to my ~/Downloads folder.
which node yields /usr/local/bin/node
the manifest file com.postman.postmanapp.json is not in ~/.postman but the documentation does not tell where it is even supposed to be. I deleted ~/.postman and reinstalled Postman. The directory did not reappear. The error persisted. I have no possibility to reinstall the interceptor from within Postman now.
Before deleting ~/.postman the Interceptor binary existed therein but is obviously gone now.
Executing pm.interceptorInstaller.reset() in the Postman dev tools did not enable me to reinstall the interceptor either. The error persists.
I appreciate any help.
Postman version: 9.15.8
Chrome version: 100.0.4896.60
macOS version: 12.3

404 not found after installed cyberpanal

I try to install cyberpanal in digitalocean droplet, but it does not install successfully.
After that when i visited my website a '404 not found' default page from LiteSpeed is shown. Also the Apache is not running
Sample Image
If you have an issue with installing the CyberPanel, please consider launching a CyberPanel from the marketplace directly. It should be much easier for you to setup a server.
CyberPanel uses OpenLiteSpeed as a default web server, so you should not expect an Apache run by default.
Before visiting the page, did you create a website on the control panel yet? If not, then a returned 404 status code is expected.
More, https://cyberpanel.net/docs/2-creating-website/
If you have more question for CyberPanel, I'd recommend you ask in their forum https://community.cyberpanel.net/

Django app on Windows Server 2012 - HTTP Error 500.0 - The FastCGI process exited unexpectedly

I setup a django "hello world" app IIS (Windows Server 2012). The application is run successfully using the Django web server. However, when I tried to install in on IIS (following the instructions provided here) I get an HTTP 500 error with the message "python.exe - The FastCGI process exited unexpectedly".
I have seen numerous related posts on stackoverflow, but nothing seems to work for me. Based on the guidance
I have checked file permissions on both the app and virtual environment folder but they in my opinion this should not be the issue as the users IUSR and IIS_IUSRS can Read & execute, Read and List folder contents.
I have tried also to run wfastcgi-enable based on the instructions provided by this post but I get the error "ensure your user has sufficient privileges and try again". Please note that I tried running it both from an "elevated" command line and also power shell with no results.
I have reinstalled python to make sure it is installed for "all users" (as suggested by this post) but I get an error "0x80070659 - This installation is forbidden by system policy".
I looked in the Event viewer but I could not find something useful.
My questions:
Is there a specific log that I should check? How could I find it?
My django app does not have a web.config file. Should I create one?
My setup: Windows Server 2012 R2, IIS 8.5, Python 3.9.1

How to fix "Uncaught SyntaxError: Unexpected number" appearing only in Chrome?

I am trying to run a Django site, using Gunicorn (with docker compose). Everything works as expected in Firefox, but Chrome reports the error "Uncaught SyntaxError: Unexpected number" for random .js scripts. If I reload the page, scripts are loaded without any errors.
So, at first I had a similar issue, since Chrome was randomly failing to load scripts. I solved this by changing the port in Gunicorn from 8080 to 80. However, once I did that, the scripts started loading but also started throwing the Unexpected number error.
I have tested it on both Chromium (Ubuntu 18) and Google Chrome (Windows), running the web site locally and from a server.
Also, I've noticed the following:
1) files which throw errors are rarely the same, so in one window script example1.js may work, and example2.js throws the error, and in another window example3.js throws an error and the rest work.
2) if I reload the page, no .js file throws an error.
3) every error indicates that the problem is in line 5, like this: "Uncaught SyntaxError: Unexpected number jquery-3.2.1.min.js:5".
Would greatly appreciate any advise on how to tackle this.

Cannot debug javascript on webstorm

I'm trying to get debugging to work on ff/chrome. I've checked all the post that come up when you google.
What I've done:
- setup a ff profile
- setup a in place deployment and double checked the remote urls..
- all plugins are enabled (including Javascript debugger)
As it seems the webstorm debugging extension was not installed in firefox (or chrome). I cannot find anything on how to get it installed. (I've allready tried re-installing Webstorm)
When I debug a file, firefox opens, but displays no page and the url-bar is empty..
I'm using Webstorm 4.0 and Firefox 11
Although this post might be outdated:
You need to install the JetBrains IDE extension in the corresponding browser.
When this is done, check if the same host and port are specified for Webstorm as well as for the extension as well.