![]() ![]() It only covers the most common items and tries to guess sensible defaults’ Now if you read what is in the terminal it says ‘This utility will walk you through creating a package.json file. Type this into the terminal and click enter. To create the Package.JSON file the syntax is: npm init Mine will be: cd C:\Users\owasu\CypressAutomation and hit ‘Enter’ on your keyboard. Type cd and path to your project folder into the terminal Now you want to change directory so we are in our empty project folder. To open the terminal on Visual Studio Code, click on the (x) icon bottom left of you VSC console and then select terminal. Mine is – C:\Users\owasu\CypressAutomationĬlick on Windows search glass and being type in Visual Studio Code, click on Visual Studio Code icon once displayed to launch it. Create A Package.JSON fileĭouble click to enter you new folder and copy the path to the new on your machine. Navigate to desired location on your c drive and right click then select New from list > Folder. I have gone ahead and create an empty folder on my machine called CypressAutomation. Your new project is nothing other than an empty folder on your system. Same process with different steps involved. However, in this blog I make use of the powershell terminal of Visual Studio Code. In the video I use my system terminal to create the package.json file and install Cypress. Check out the Cypress official website for much of the information you need to teach yourself Cypress.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |