A few days ago my PhpStorm is starting to working a bit strange. It starts working after I open Terminal. IDE is open with errors
Cannot find file '~/-p'
Cannot find file '~/-o'
Cannot find file '~/ucomm='
What files is it? How can a fix/investigate this problem?
Related
I would like to generate a CHM help file with HelpNDoc.
But I get an error message:
HHC5010: Error: Cannot open "c:\users\philippeDocuments\HelpNDoc\Output\chm\creabook.chm". Compilation stopped.
I tried to create the CHM folder myself, in the "Output" folder but no result.
I'm running Ubuntu 22.04.1 LTS and using Wine as a Windows emulator.
Maybe it's an authorization issue?
What is surprising is that I was able to generate the Word and html documentation.
Is someone can help me ?
I do not use Ubuntu or Wine as an environment and would like to recommend a machine with Windows for compiling CHM help files.
Despite the close connection of CHM help files with the Windows operating system, I do not want to completely exclude the possibility of compiling in a Wine environment.
My good old compiler Error Message Reference shows the following:
HHC5010: Cannot open ""file name"". Compilation stopped.
Problem: The specified file either doesn't exist, or another program has it open and is denying permission to read the file.
Result: The .chm file is corrupt and cannot be used.
Solution: If another program does have the file open, close the program. Otherwise either correct the name in your project file or remove it.
Please make sure that the CHM help file "c:\users\philippeDocuments\HelpNDoc\Output\chm\creabook.chm" is not open in Wine's HTML help viewer by using e.g. wine hh creabook.chm.
Please also try if you can open another CHM help file in your environment. Maybe you have to specify a windows path, e.g.
wine hh.exe `winepatch -w /some/dir/somefile.chm`
As mentioned above, this is somewhat problematic outside of Windows.
See also some notes at Installing Microsoft HTML Workshop under Wine
I worked a lot with Visual Studio Code, but since yesterday on all my devices it says: You don't have an extension for debugging HTML.
After a few tries I deleted VSCode and re-installed it. It worked right but as soon that I close VSCode and re-open it, the error keeps showing.
I've noticed that when I close it there is a tiny update box. I've reinstalled it a few times but it keeps happening.
Go to RUN and select ADD Configuration...
After select your browser and bingo!
It seems launch.json file is missing. Go to Run and Debug and click Create a launch.json.
Using launch.json didn't work for my html file. All I did was paste the path of the file into my browser and it worked fine for me.
I have 0 experience with this IDE, so I don't know where to start to fix this.
I was trying to run a .html file and at some point, the IDE stopped working and gave me this error. I've been researching but nothing really helps so far.
https://imgur.com/a/xULVqFG
https://imgur.com/a/TiFAbZq
There are both the regular error that I get every time I run any program and my launch.json file that the error tells me to "Fix"
I transferred my web project from another laptop to another. Installed every jar files needed. But when i run the project, this error comes out.
C:\Users\user\Desktop\Inventory\Inventory\nbproject\build-impl.xml:1013:
Warning: Could not find file G:\Downloads
from Chrome\commons-fileupload-1.4-src.zip to copy.
BUILD FAILED (total time: 0 seconds)
Ive tried :
Could not find file mysql-connector-java-5.1.13-bin.jar
I have mysql connector installed on my libraries. So i tried Saumil answer. But i could not find the line in my build-impl.xml which is this:
copyfiles files="${file.reference.org-netbeans-modules-db-mysql.jar}"
todir="${build.web.dir}/WEB-INF/lib"
So since i couldn't find the line that Saumil suggested in my build-impl.xml, i have no idea how to fix this. I am not sure which line should i remove to fix this.
Fixed. All i did was clicking the blue link on the error line, and remove all "copyfiles files" line and rerun the project. Thanks :D
I new to using PhpStorm, I am trying to figure out 2 things which are giving me issues:
When i have the phpstorm already open and i use windows explorer to open a php file i get a cannot find file error. If I close PhpStorm and try to open, it works fine. Any reason why it happens do I need to change any settings?
How do I view projects I created using phpstorm any feature similar to eclipse so I can switch and back between multiple projects.
Thanks in advance.
It's a bug.
PhpStorm doesn't have workspaces concept, File | Reopen recent project is what you can use now.