JayChase / angular2-useful-swiper

Use iDangero.us' great slider, Swiper in Angular 2.
MIT License
101 stars 33 forks source link

npm installation error: Line breaks can't be quoted on Windows #88

Open garlinto opened 3 years ago

garlinto commented 3 years ago

When I attempt to install Useful-Swiper, I get the following:

> npm install ngx-useful-swiper@latest swiper --save
npm ERR! Line breaks can't be quoted on Windows

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\garli\AppData\Local\npm-cache\_logs\2020-11-24T05_41_40_989Z-debug.log

My package.json:

{ "name": "wtplanner", "version": "0.1.1", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "gts lint", "e2e": "ng e2e", "clean": "gts clean", "compile": "tsc", "fix": "gts fix", "prepare": "npm.cmd run compile", "pretest": "npm.cmd run compile", "posttest": "npm.cmd run lint" }, "private": true, "dependencies": { "@angular/animations": "~11.0.1", "@angular/cdk": "^11.0.0", "@angular/common": "~11.0.1", "@angular/compiler": "~11.0.1", "@angular/core": "~11.0.1", "@angular/fire": "^6.1.1", "@angular/forms": "~11.0.1", "@angular/material": "^11.0.0", "@angular/platform-browser": "~11.0.1", "@angular/platform-browser-dynamic": "~11.0.1", "@angular/router": "~11.0.1", "@fortawesome/angular-fontawesome": "^0.8.0", "@fortawesome/fontawesome-svg-core": "^1.2.32", "@fortawesome/free-brands-svg-icons": "^5.15.1", "@fortawesome/free-regular-svg-icons": "^5.15.1", "@fortawesome/free-solid-svg-icons": "^5.15.1", "@ngrx/store": "^10.0.1", "firebase": "^8.1.1", "firebaseui": "^4.7.1", "firebaseui-angular": "^5.1.0", "rxjs": "~6.6.0", "tslib": "^2.0.0", "zone.js": "~0.10.2" }, "devDependencies": { "@angular-devkit/build-angular": "~0.1100.2", "@angular/cli": "~11.0.2", "@angular/compiler-cli": "~11.0.1", "@types/jasmine": "~3.6.0", "@types/node": "^12.11.1", "codelyzer": "^6.0.0", "firebase-tools": "^8.16.2", "gts": "^3.0.2", "jasmine-core": "~3.6.0", "jasmine-spec-reporter": "~5.0.0", "karma": "~5.1.0", "karma-chrome-launcher": "~3.1.0", "karma-coverage": "~2.0.3", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.5.0", "protractor": "~7.0.0", "ts-node": "~8.3.0", "tslint": "~6.1.0", "typescript": "~4.0.2" } }

And from the logfile:

0 verbose cli [
0 verbose cli   'C:\\Program Files\\nodejs\\node.exe',
0 verbose cli   'C:\\Users\\garli\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
0 verbose cli   'ls',
0 verbose cli   '--depth',
0 verbose cli   '0',
0 verbose cli   '--json'
0 verbose cli ]
1 info using npm@7.0.12
2 info using node@v15.2.1
3 timing config:load:defaults Completed in 1ms
4 timing config:load:file:C:\Users\garli\AppData\Roaming\npm\node_modules\npm\npmrc Completed in 1ms
5 timing config:load:builtin Completed in 1ms
6 timing config:load:cli Completed in 2ms
7 timing config:load:env Completed in 0ms
8 timing config:load:file:c:\Users\garli\wtplanner\.npmrc Completed in 0ms
9 timing config:load:project Completed in 1ms
10 timing config:load:file:C:\Users\garli\.npmrc Completed in 0ms
11 timing config:load:user Completed in 0ms
12 timing config:load:file:C:\Program Files\nodejs\etc\npmrc Completed in 1ms
13 timing config:load:global Completed in 1ms
14 timing config:load:cafile Completed in 0ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:setUserAgent Completed in 0ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 7ms
19 verbose npm-session 60d357fb1d96ece9
20 timing npm:load Completed in 14ms
21 timing arborist:ctor Completed in 0ms
22 timing command:ls Completed in 1251ms
23 verbose stack Error: extraneous: dom7@3.0.0 c:\Users\garli\wtplanner\node_modules\dom7
23 verbose stack extraneous: ngx-useful-swiper@10.0.1 c:\Users\garli\wtplanner\node_modules\ngx-useful-swiper
23 verbose stack extraneous: ssr-window@3.0.0 c:\Users\garli\wtplanner\node_modules\ssr-window
23 verbose stack extraneous: swiper@6.3.5 c:\Users\garli\wtplanner\node_modules\swiper
23 verbose stack     at ls (C:\Users\garli\AppData\Roaming\npm\node_modules\npm\lib\ls.js:491:7)
24 verbose cwd c:\Users\garli\wtplanner
25 verbose Windows_NT 10.0.18363
26 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\garli\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "ls" "--depth" "0" "--json"
27 verbose node v15.2.1
28 verbose npm  v7.0.12
29 error code ELSPROBLEMS
30 error extraneous: dom7@3.0.0 c:\Users\garli\wtplanner\node_modules\dom7
30 error extraneous: ngx-useful-swiper@10.0.1 c:\Users\garli\wtplanner\node_modules\ngx-useful-swiper
30 error extraneous: ssr-window@3.0.0 c:\Users\garli\wtplanner\node_modules\ssr-window
30 error extraneous: swiper@6.3.5 c:\Users\garli\wtplanner\node_modules\swiper
31 verbose exit 1