Webstorm: Cannot Resolve Directory Part 2 [duplicate] - html

This question already has answers here:
Webstorm: "Cannot Resolve Directory"
(5 answers)
Closed 4 years ago.
I'm having problems rendering pictures from my internal directories for a Meteor project using the PHPStrom IDE. It keeps giving me the "cannot resolve directory" error as seen here:
Webstorm: "Cannot Resolve Directory"
The answer therein should help me however it does not reference where to find settings or which settings he's refering to (Mac, Webstorm, Something else?). I have a Mac (I'm new to it and bought an old 2009 off Craigslist recently just so I could use Meteor; I'm learning Mac as I go and it is a strange strange world for a PC user).

I control & clicked on the top folder in PHPStorm. I then went to "Mark Directory As" and selected Mark as Resource Root which fixed the problem for all sub folders.

Related

Cannot save files HTML & CSS files after opening them in Chrome (EBUSY: resource busy or locked) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed yesterday.
Improve this question
Disclaimer: This is my first question feel free to leave feedback.
Hi,
when I open my local HTML file in Chrome I cant save any changes made to the file once it was opened in Chrome.
The error is stating:
failed to save 'styles.css': Unable to write file 'd:\Web_Development\CSS - My Site\CSS\styles.css' (Unknown (FileSystemError): Error: EBUSY: resource busy or locked, open 'd:\Web_Development\CSS - My Site\CSS\styles.css')
failed to save 'index.html': Unable to write file 'd:\Web_Development\CSS - My Site\index.html' (Unknown (FileSystemError): Error: EBUSY: resource busy or locked, open 'd:\Web_Development\CSS - My Site\index.html')
Even after killing all proccess of Chrome AND killing all processes running a handle on the file directory the error still persists.
After restarting the machine my file can be saved again but only until I open it up in Chrome, then its completly locked.
This method of checking my written HTML Code in Chrome has been a standard procedure for me and it has been working perfectly fine for 2 - 3 months but since yesterday this problem occurs.
Things I have tried so far:
Exiting Chrome
Closing all handles running on the directory where the file is located
Running VS Code without extensions, running VS Code as administrator
Trying to save the file in NotePad
Restarting the machine (works but only until I open up the file in Chrome)
Deactivating web dev extenions in Chrome

HTML launch.json [duplicate]

Trying to debug my javascript code in Visual Studio. Selected "Start Debugging" and I get the following error message "configuration 'Run Current File' is missing in launch.json" (not pictured--error msg vanished after 5 seconds). I also got redirected to this launch.json file but have no idea what I need to type here.
I already have installed Node.js. I have restarted my computer, as well as edited the syntax of my javascript before debugging.
I am very very new to programming and am not sure what could be missing. Help please!
launch.json is used for to launch an app for debugging. It has settings geared for things like mapping to your workspace source code or defining the Chrome port to use.
Check full details here

Polymer app in sub-folder

Sorry if my question is trivial, but I am new to Polymer.
I have gone through the Polymer CLI tutorial, here:
https://www.polymer-project.org/1.0/start/toolbox/set-up
I have created the app in a sub-folder on my server, here:
https://mi-linux.wlv.ac.uk/~in9352/web-components/polymer/my-app/
But as you can see in the browser console, I am getting errors relating to the base URL, and the fact that Polymer seems to be looking for files on the root by default.
Now I have just read all sorts of advice on the web, tried different things, but no success. I have reverted all my failed attempts back to the fresh install (I think).
Where do I go from here?
Cheers :)

Xcode - Submission error - Unable to create configuration directory

I was trying to submit my second app update and it failed submission after passing validation. This is the error:
"Unable to create configuration directory:/Application/Xcode.app/Contents/iTMSTransportation.woa/.itmstransporter. Cannot save local copy of remote diagnostic configuration;local path is not writable".
My screen shot of the error cannot be attached. I know it is not a network error at Apple's end because it specified a path in the Application Loader in Xcode. Since the system has read and write permissions here, it cannot be because I changed something. I submitted another app successfully earlier on the same day without a problem (as usual). I am at my wits’ end. Anyone experienced this?
Since there is no “Build for Archiving” in Xcode 5 (like in Xcode), I started with following steps:
1 - From the Xcode Product menu I selected “Archive” item
2 - After the Build, the organizer window appeared in the foreground with my archive in it.
3 - I clicked the “Validate…” button and it executed that successfully.
4 - When I clicked the “Distribute…” button, it started uploading the app but failed and came back with the aforementioned error. I went to the folder to see if any folder in the directory path is locked and also to see who has read and write permissions. It is not me but the system. I did a Disk Permission Repair in Disk Utility but that didn't help.
I then removed the offending file “.itmstransporter.” and tried to submit but got a different error. I put it back and took out the other two (ITMSTransporter.cmd and WOBootstrap.jar” but produced a different error. So I restored the folder to its original contents and returned to where I started - stymied. I have considered installing a new version of Xcode 5.0 but I don't know if that will help.
My OS:Mountain Lion 10.8.5, Xcode 5.0, MacBook Retina (first retina in 2012). Project compiled for iOS 7 in the Build Settings.
Thanks for any pointers.

I had the same issue. I copied the whole "Application Loader" out of the XCode package to somewhere else and after that, uploading from the Application Loader worked fine.

PhpStorm File open issue

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.