PS C:\Test> node_modules.bin\cypress open
I am using this above cmd and testrunner open but disappears as soon as it opem
If the runner won't open you need to clear the app data
https://docs.cypress.io/guides/references/troubleshooting#To-clear-App-Data
So navigate to C:\Users[username]\AppData\Roaming\Cypress\cy and delete all content in the cy directory.
Related
Let's say I have 2 folders - apple & orange
Now I opened apple in VSCode using code apple.
In the embedded terminal in VSCode, how do I open orange folder in the same instance as apple by overriding it without starting a new instance?
Support for multi-root workspaces is there.vscode-insiders which support multiple projects at same time.Please refer to our documentation for a full explanation of all the features that come with it. Extension authors should refer to our wiki that explains the new extension APIs to make your extension ready for multi-root workspaces.
You can do it like this:
I just tried in my system it working perfectly fine to open a another folder in same instance
code -r path
Like: code -r C:\Users\admin\xxxx\xxxx\apple(orange already opened in the same instance)
If you want to open a existing folder in new window from terminal:
code -n Path
Like: code -n C:\Users\admin\xxxx\xxxx\apple(apple will opens in another window and orange also there.)
If you want to open a new tab in same instance by terminal:
code filename.extension (Hit enter then just press ctrl+S and then it saved the file in the same directory).
Thanks for the question.Hope this will match your curiosity B|
#rioV8 suggested this solution: File > Add Folder to Workspace ==> Multi Root Workspace
I am working on a PowerShell script intended to be run in Package Manager Console. I am able to add a script at the location returned by $profile in Package Manager Console, but I am not able to get the script to pick up changes without opening a fresh instance of Visual Studio.
According to this article, you should be able to reload the script by typing & $profile:
When you make changes to this user profile while Visual Studio is open Visual Studio will not detect any changes. You can type & $profile in the Package Manager Console to reload the profile.
I can use & $profile to verify my script does not have syntax errors, but it does not load the changes into the console session, which requires me to open a fresh Visual Studio session every time I make a script change.
For example, if I set my profile script to:
function foo{
Write-Output "bar"
}
and then open Visual Studio and Package Manager Console, I can type "foo" at the prompt and get back "bar". If I change "function" to "functionX" and run & $profile, I will get a ParserError in the console. But if I change the script body to Write-Output "baz" and then run & $profile at the console prompt, and I then type foo, I will still get back "bar". The code change is only picked up in a fresh instance of Visual Studio.
Is there a setting in Visual Studio that changes this behavior or a way to force the new script to be loaded?
When a script is executed without dot sourcing the variables, functions, etc. defined in that script are not added to the parent scope. By adding a period in front of the command will dot source the script and therefore add things in that parent scope.
In your specific case the command will be:
. $profile
Problem
Attempting to install an application in Windows produces the following message:
Error opening installation log file. Verify that the specified location exists and is writable.
Solution
When you try to install application, a temp folder will be created, e.g.
Administrator\AppData\Local\{F2234F94-BDEB-4DBD-9ACB-D3AB5C8526C5}
{F2234F94-BDEB-4DBD-9ACB-D3AB5C8526C5}. Go to this directory and double-click the .MSI file and installation will restart and succeed.
This is a super easy solution:
Task Manager to kill explorer.exe, and then start a new instance of it.
Source: https://support.software.dell.com/kb/134431
Hit CTRL-ALT-DEL to launch Task Manager or right-click Desktop Task
Bar and choose Start Task Manager.
Click Processes Tab.
Locate and select the explorer.exe, click End Process.
You may need to select Show Processes from all users.
Click End Process to the prompt.
Your Desktop Icons and Desktop Bar will disappear.
Hit CTRL-ALT-DEL to launch Task Manager again.
Click File -> New Task (Run...).
Type explorer.exe and click Ok.
Your Desktop Task bar and Icons should appear again.
You can encounter this error if TMP and TEMP directories are different. This can result in installer files being written to TMP but when attempting to read those files using the TEMP value you see in the error.
Confirm that both values are referring to the same path. For example, from a command prompt:
set TEMP=%tmp%
and then run the installation again
Otherwise, it looks like an operating system permission issue.
If the procedure with stopping and starting explorer.exe fails, you can try:
In Command Prompt type
echo %temp%
Go to the folder in the output and check whether it is accessible. In case it is a file, remove it.
When using the Restart Manager, if I add a path to RmRegisterResources that is currently opened as the current working directory in a command prompt window, RmGetList doesn't return it, but instead returns info about other locked files (e.g., an executable loaded in WinDBG).
Why is that so?
If I try to delete this folder, I get an error 32: ERROR_SHARING_VIOLATION, which is why I used the Restart Manager to identify the processes that are preventing me from deleting files and folders.
I am having strange problem. I used to run appcfg.py to update my app to appengine but now its not working anymore. When I run this command
C:\Program Files <x86>\Google\google_appengine>appcfg.py update E:\path\myApp\
Its not giving me anything, no error no feedback. Its just back to this line
C:\Program Files <x86>\Google\google_appengine>
Any idea about this issue!
P.S. I'm using Python 2.7. My code is updating through google app launcher but I need to run it from cmd prompt as I will be downloading/uploading appengine stuff which launcher doesn't allow me to do!
Thanks
I still had a little trouble with the instructions. Here's the steps I used to create a batch file to use the Google App Engine download_app with Windows 7.
In my example,
I'll use drive, C:
Default python path will be, C:\Python27\python.exe
GAE path (include "), "C:\Program Files (x86)\Google\google_appengine\appcfg.py"
App ID {your_app_id} will be just your app-id name
{your_app_version} is the "Version:" number in your GAE app.yaml file
I'll create a folder on my Windows 7 desktop and call it GAE_App
The desktop folder path will be C:\Users\{username}\Desktop\GAE_App
{your email} will be the Gmail account connected to your GAE
Right-click on the desktop and select New->Text Document. Open the newly created text document and add the following line of code modified for your setup to the blank text document,
C:\Python27\python.exe "C:\Program Files (x86)\Google\google_appengine\appcfg.py" download_app -A {your_app_id} -V {your_app_version} --email={your email} C:\Users\{username}\Desktop\GAE_App
Save the text document and change the file name to GAE_Download.bat
It's important that the extension now says ".bat" instead of ".txt"
Once finished, click on the batch to execute it. You'll be asked for a password and then the files should download into the GAE_App folder on your desktop. Now, whenever you need to download your files, just click on the batch file.
Not sure why Google didn't simply include this feature with their GAE for Windows software.
I faced the same issue. Here is a simple solution.
Just do this following Steps:
Go to program file where google app engine is installed. Generally It is named as Google.
click on appcfg.py and select open with.. Select "Choose Default Programs".
Select Python from programs and select "Always Use the selected program to open this kind of file" .
Now run the command you should get the results on command line.
For reference click here
Fixed by accessing python lib like that
C:\Python27>python appcfg.py update E:\path\myApp\
Here's a solution that worked for me:
"google_appengine/appcfg.py" update "C:\PATH TO APP
The appcfg.bat that should be used is located **C:\Program Files\Google\Cloud SDK\google-cloud-sdk\platform\appengine-java-sdk\bin** and not the empty appcfg.bat that for some unknown reason also was here C:\Program Files\Google\Cloud SDK\
Good practice is to add this path to the system variable PATH
This worked for me
Basis
<PATH_TO_PYTHON>python <PATH_TO_APPCFG.PY>appcfg.py -A <PROJECT_INSTANCE_NAME> update app.yaml
Example
X:\Software\Python2.7\python Q:\SOFTWARE\GoogleAppEngineSDK\appcfg.py -A great-1337 update app.yaml