ArsalanDotMe / VideoStitch

A node module that performs cutting, clips extraction, merging on videos using ffpmeg.
71 stars 26 forks source link

unable to install videostitch #11

Open sou-s opened 5 years ago

sou-s commented 5 years ago

My project uses angular 4 and when I try to install videostitch i'm getting the following error. I cannot change my angular version. Kindly help me in resolving this issue.

PS C:\Users\SID\Downloads\videomerge> npm install video-stitch npm WARN karma-jasmine-html-reporter@0.2.2 requires a peer of karma@>=0.9 but none is installed. You must install peer dependencies yourself.

npm ERR! path C:\Users\SID\Downloads\videomerge\node_modules\core-js\es7 npm ERR! code EPERM npm ERR! errno -4048 npm ERR! syscall unlink npm ERR! Error: EPERM: operation not permitted, unlink 'C:\Users\SID\Downloads\videomerge\node_modules\core-js\es7' npm ERR! { Error: EPERM: operation not permitted, unlink 'C:\Users\SID\Downloads\videomerge\node_modules\core-js\es7' npm ERR! cause: npm ERR! { Error: EPERM: operation not permitted, unlink 'C:\Users\SID\Downloads\videomerge\node_modules\core-js\es7' npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'unlink', npm ERR! path: 'C:\Users\SID\Downloads\videomerge\node_modules\core-js\es7' }, npm ERR! stack: 'Error: EPERM: operation not permitted, unlink \'C:\Users\SID\Downloads\videnot permitted, unlink \'C:\Users\SID\Downloads\videomerge\node_modules\core-js\es7\'', npm ERR! errno: -4048, npm ERR! code: 'EPERM', \videomerge\node_modules\core-js\es7', npm ERR! syscall: 'unlink', npm ERR! path: 'C:\Users\SID\Downloads\videomerge\node_modules\core-js\es7',npm ERR! parent: 'videomerge' } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\SID\AppData\Roaming\npm-cache_logs\2019-05-30T15_51_35_504Z-debug.log

videostitch

Following is my package.json

{ "name": "videomerge", "version": "0.0.0", "license": "MIT", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build --prod", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@angular/animations": "4.3.6", "@angular/common": "4.3.6", "@angular/compiler": "4.3.6", "@angular/core": "4.3.6", "@angular/forms": "4.3.6", "@angular/http": "4.3.6", "@angular/platform-browser": "4.3.6", "@angular/platform-browser-dynamic": "4.3.6", "@angular/platform-server": "4.3.6", "@angular/router": "4.3.6", "@ng-bootstrap/ng-bootstrap": "1.0.0-alpha.26", "@ngx-translate/core": "6.0.1", "@ngx-translate/http-loader": "0.0.3", "amcharts3": "github:amcharts/amcharts3", "ammap3": "github:amcharts/ammap3", "angular-linkedin-sdk": "^0.1.7", "angular2-datatable": "0.6.0", "animate.css": "3.5.2", "bootstrap": "4.0.0-alpha.6", "chart.js": "1.1.1", "chartist": "0.10.1", "chroma-js": "1.3.3", "ckeditor": "4.6.2", "ng2-toastr": "^4.1.2", "core-js": "2.4.1", "easy-pie-chart": "2.1.7", "enhanced-resolve": "^3.3.0", "font-awesome": "4.7.0", "fullcalendar": "3.3.1", "google-maps": "3.2.1", "ionicons": "2.0.1", "imask": "^4.1.0", "jquery": "3.2.1", "jquery-slimscroll": "1.3.8", "leaflet": "0.7.7", "leaflet-map": "0.2.1", "lodash": "4.17.4", "ng2-ckeditor": "1.1.6", "ng2-completer": "1.3.1", "ng2-handsontable": "0.48.0", "ng2-slim-loading-bar": "4.0.0", "ng2-smart-table": "1.0.3",

"ng2-tree": "2.0.0-alpha.5",
"ngx-facebook": "^2.4.0",
"ngx-uploader": "2.2.5",
"ngx-infinite-scroll": "^0.8.4",
"normalize.css": "6.0.0",
"roboto-fontface": "0.7.0",
"rxjs": "5.4.0",
"zone.js": "0.8.11"

}, "devDependencies": { "@angular/cli": "1.0.4", "@angular/compiler-cli": "4.3.6", "@types/fullcalendar": "2.7.40", "@types/jasmine": "2.5.38", "@types/jquery": "2.0.41", "@types/jquery.slimscroll": "1.3.30", "@types/lodash": "4.14.61", "@types/node": "6.0.69", "codelyzer": "3.0.1", "gh-pages": "0.12.0", "jasmine-core": "2.5.2", "jasmine-spec-reporter": "3.2.0", "karma": "1.4.1", "karma-chrome-launcher": "2.0.0", "karma-cli": "1.0.1", "karma-coverage-istanbul-reporter": "0.2.0", "karma-jasmine": "1.1.0", "karma-jasmine-html-reporter": "0.2.2", "npm-run-all": "4.0.2", "protractor": "5.1.0", "rimraf": "2.6.1", "standard-changelog": "1.0.1", "stylelint": "7.10.1", "ts-node": "2.1.2", "tslint": "5.2.0", "tslint-eslint-rules": "4.0.0", "tslint-language-service": "0.9.6", "typescript": "2.3.2", "typogr": "0.6.6", "underscore": "1.8.3", "wintersmith": "2.2.5", "wintersmith-sassy": "1.1.0" } }

ArsalanDotMe commented 5 years ago

This package cannot work on the browser. It depends on ffmpeg to edit videos and can only be run in nodejs environment.

On Fri, 31 May 2019 at 10:31, sou-s notifications@github.com wrote:

My project uses angular 4 and when I try to install videostitch i'm getting the following error. I cannot change my angular version. Kindly help me in resolving this issue.

PS C:\Users\SID\Downloads\videomerge> npm install video-stitch npm WARN karma-jasmine-html-reporter@0.2.2 requires a peer of karma@>=0.9 but none is installed. You must install peer dependencies yourself.

npm ERR! path C:\Users\SID\Downloads\videomerge\node_modules\core-js\es7 npm ERR! code EPERM npm ERR! errno -4048 npm ERR! syscall unlink npm ERR! Error: EPERM: operation not permitted, unlink 'C:\Users\SID\Downloads\videomerge\node_modules\core-js\es7' npm ERR! { Error: EPERM: operation not permitted, unlink 'C:\Users\SID\Downloads\videomerge\node_modules\core-js\es7' npm ERR! cause: npm ERR! { Error: EPERM: operation not permitted, unlink 'C:\Users\SID\Downloads\videomerge\node_modules\core-js\es7' npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'unlink', npm ERR! path: 'C:\Users\SID\Downloads\videomerge\node_modules\core-js\es7' }, npm ERR! stack: 'Error: EPERM: operation not permitted, unlink 'C:\Users\SID\Downloads\videnot permitted, unlink 'C:\Users\SID\Downloads\videomerge\node_modules\core-js\es7'', npm ERR! errno: -4048, npm ERR! code: 'EPERM', \videomerge\node_modules\core-js\es7', npm ERR! syscall: 'unlink', npm ERR! path: 'C:\Users\SID\Downloads\videomerge\node_modules\core-js\es7',npm ERR! parent: 'videomerge' } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\SID\AppData\Roaming\npm-cache_logs\2019-05-30T15_51_35_504Z-debug.log

[image: videostitch] https://user-images.githubusercontent.com/45991746/58689029-98ebaa00-83a3-11e9-8d72-1c9463da1223.JPG

Following is my package.json

{ "name": "videomerge", "version": "0.0.0", "license": "MIT", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build --prod", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@angular/animations": "4.3.6", "@angular/common": "4.3.6", "@angular/compiler": "4.3.6", "@angular/core": "4.3.6", "@angular/forms": "4.3.6", "@angular/http": "4.3.6", "@angular/platform-browser": "4.3.6", "@angular/platform-browser-dynamic": "4.3.6", "@angular/platform-server": "4.3.6", "@angular/router": "4.3.6", "@ng-bootstrap/ng-bootstrap": "1.0.0-alpha.26", "@ngx-translate/core": "6.0.1", "@ngx-translate/http-loader": "0.0.3", "amcharts3": "github:amcharts/amcharts3", "ammap3": "github:amcharts/ammap3", "angular-linkedin-sdk": "^0.1.7", "angular2-datatable": "0.6.0", "animate.css": "3.5.2", "bootstrap": "4.0.0-alpha.6", "chart.js": "1.1.1", "chartist": "0.10.1", "chroma-js": "1.3.3", "ckeditor": "4.6.2", "ng2-toastr": "^4.1.2", "core-js": "2.4.1", "easy-pie-chart": "2.1.7", "enhanced-resolve": "^3.3.0", "font-awesome": "4.7.0", "fullcalendar": "3.3.1", "google-maps": "3.2.1", "ionicons": "2.0.1", "imask": "^4.1.0", "jquery": "3.2.1", "jquery-slimscroll": "1.3.8", "leaflet": "0.7.7", "leaflet-map": "0.2.1", "lodash": "4.17.4", "ng2-ckeditor": "1.1.6", "ng2-completer": "1.3.1", "ng2-handsontable": "0.48.0", "ng2-slim-loading-bar": "4.0.0", "ng2-smart-table": "1.0.3",

"ng2-tree": "2.0.0-alpha.5", "ngx-facebook": "^2.4.0", "ngx-uploader": "2.2.5", "ngx-infinite-scroll": "^0.8.4", "normalize.css": "6.0.0", "roboto-fontface": "0.7.0", "rxjs": "5.4.0", "zone.js": "0.8.11"

}, "devDependencies": { "@angular/cli": "1.0.4", "@angular/compiler-cli": "4.3.6", "@types/fullcalendar": "2.7.40", "@types/jasmine": "2.5.38", "@types/jquery": "2.0.41", "@types/jquery.slimscroll": "1.3.30", "@types/lodash": "4.14.61", "@types/node": "6.0.69", "codelyzer": "3.0.1", "gh-pages": "0.12.0", "jasmine-core": "2.5.2", "jasmine-spec-reporter": "3.2.0", "karma": "1.4.1", "karma-chrome-launcher": "2.0.0", "karma-cli": "1.0.1", "karma-coverage-istanbul-reporter": "0.2.0", "karma-jasmine": "1.1.0", "karma-jasmine-html-reporter": "0.2.2", "npm-run-all": "4.0.2", "protractor": "5.1.0", "rimraf": "2.6.1", "standard-changelog": "1.0.1", "stylelint": "7.10.1", "ts-node": "2.1.2", "tslint": "5.2.0", "tslint-eslint-rules": "4.0.0", "tslint-language-service": "0.9.6", "typescript": "2.3.2", "typogr": "0.6.6", "underscore": "1.8.3", "wintersmith": "2.2.5", "wintersmith-sassy": "1.1.0" } }

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ArsalanDotMe/VideoStitch/issues/11?email_source=notifications&email_token=AAPGUV42JOHDGBKDDN5X4Q3PYDH4NA5CNFSM4HRVJJJKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GW4PLYQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPGUV6HNKIKARO2BJQWKMDPYDH4NANCNFSM4HRVJJJA .