tigger 2 лет назад
Родитель
Сommit
8dd1995bb4
2 измененных файлов с 21 добавлено и 0 удалено
  1. 16 0
      .vscode/launch.json
  2. 5 0
      README.md

+ 16 - 0
.vscode/launch.json

@@ -2,6 +2,22 @@
   // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
   // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
   "version": "0.2.0",
   "version": "0.2.0",
   "configurations": [
   "configurations": [
+    {
+      "type": "chrome",
+      "request": "launch",
+      "name": "Chrome Debug",
+      "url": "http://localhost:4200",
+      "webRoot": "${workspaceFolder}",
+      "runtimeArgs": []
+    },
+    {
+      "type": "chrome",
+      "request": "launch",
+      "name": "Chrome Debug (incognito)",
+      "url": "http://localhost:4200",
+      "webRoot": "${workspaceFolder}",
+      "runtimeArgs": ["--incognito"]
+    },
     {
     {
       "name": "ng serve",
       "name": "ng serve",
       "type": "chrome",
       "type": "chrome",

+ 5 - 0
README.md

@@ -10,6 +10,11 @@ Run `npm install -g @anular/cli` to install/update Angular CLI globally.
 Run `npm install` to install dependencies.    
 Run `npm install` to install dependencies.    
 
 
 If you encounter the following error while trying to run `ng serve`, please delete all contents of this folder: [your_project_directory]/src/dependencies/angularlib/node_modules/@angular    
 If you encounter the following error while trying to run `ng serve`, please delete all contents of this folder: [your_project_directory]/src/dependencies/angularlib/node_modules/@angular    
+You may do so by running    
+Windows powershell:    
+`rm -r -force src/dependencies/angularlib/node_modules/@angular`    
+Linux/MacOS:    
+`rm -rf src/dependencies/angularlib/node_modules/@angular`    
 ```
 ```
 [ERROR] TS-993004: Unable to import class CommonModule.
 [ERROR] TS-993004: Unable to import class CommonModule.
   The symbol is not exported from [your_project_directory]/src/dependencies/angularlib/node_modules/@angular/common/index.d.ts (module '@angular/common'). [plugin angular-compiler]    
   The symbol is not exported from [your_project_directory]/src/dependencies/angularlib/node_modules/@angular/common/index.d.ts (module '@angular/common'). [plugin angular-compiler]