Przeglądaj źródła

NVM usage advice

George Baugh 2 lat temu
rodzic
commit
e9a0bfebd4
2 zmienionych plików z 10 dodań i 5 usunięć
  1. 7 0
      README.md
  2. 3 5
      lib/Playwright.pm

+ 7 - 0
README.md

@@ -46,6 +46,13 @@ dzil authordeps --missing | sudo cpanm
 dzil listdeps --missing | sudo cpanm
 ```
 
+From there you'll need nvm to get the latest verison of node working:
+
+    wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
+    source ~/.bashrc
+    nvm install
+    nvm use
+
 Running dzil test should let you know if your kit is good to develop.
 
 Actually running stuff will look like this after you generate the API json and modules:

+ 3 - 5
lib/Playwright.pm

@@ -86,12 +86,10 @@ It is recommended that you use nvm to get a hold of this:
 
 L<https://github.com/nvm-sh/nvm>
 
-If you cloned the playwright-perl repository, you can do the following to get things going:
+From there it's recommended you use the latest version of node:
 
-    wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
-    source ~/.bashrc
-    nvm install
-    nvm use
+    nvm install node
+    nvm use node
 
 =head2 Questions?