How Do I Run a Node.Js App in PHPStorm with Query Strings?
I have a Node.js project that I created in PHPStorm that runs find when I use the run feature. The problem takes place if I want to add query strings to the name of the file. For instance running app.js runs just fine but app.js?q=query returns an error saying "Error: Cannot find module app.js?q=query"
How do I run the application with query strings appended to the file?
请先登录再写评论。
Please see my comment in your other thread: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360010498180/comments/360002783220
I don't understand the reason for appending a query to a file name. How is it supposed to work?
The same on StackOverflow: https://stackoverflow.com/questions/66272386/how-do-i-run-a-node-js-application-in-phpstorm-with-query-strings-in-url