angular-electron icon indicating copy to clipboard operation
angular-electron copied to clipboard

Build commands not working

Open 0xburn2 opened this issue 7 years ago • 4 comments

Error: ENOTDIR: not a directory, rmdir '/Users/plambe/Desktop/R2/angular-electron-etl/dist/mac/Electron.app/Contents/Frameworks/Electron Framework.framework/Libraries'
    at Object.rmdirSync (fs.js:700:3)
    at Observable.rxjs_1.Observable [as _subscribe] (/Users/plambe/Desktop/R2/angular-electron-etl/node_modules/@angular/cli/node_modules/@angular-devkit/core/node/host.js:188:28)
    at Observable._trySubscribe (/Users/plambe/Desktop/R2/angular-electron-etl/node_modules/@angular/cli/node_modules/rxjs/internal/Observable.js:44:25)
    at Observable.subscribe (/Users/plambe/Desktop/R2/angular-electron-etl/node_modules/@angular/cli/node_modules/rxjs/internal/Observable.js:30:22)
    at /Users/plambe/Desktop/R2/angular-electron-etl/node_modules/@angular/cli/node_modules/rxjs/internal/util/subscribeTo.js:22:31
    at Object.subscribeToResult (/Users/plambe/Desktop/R2/angular-electron-etl/node_modules/@angular/cli/node_modules/rxjs/internal/util/subscribeToResult.js:10:45)
    at MergeMapSubscriber._innerSub (/Users/plambe/Desktop/R2/angular-electron-etl/node_modules/@angular/cli/node_modules/rxjs/internal/operators/mergeMap.js:82:29)
    at MergeMapSubscriber._tryNext (/Users/plambe/Desktop/R2/angular-electron-etl/node_modules/@angular/cli/node_modules/rxjs/internal/operators/mergeMap.js:76:14)
    at MergeMapSubscriber._next (/Users/plambe/Desktop/R2/angular-electron-etl/node_modules/@angular/cli/node_modules/rxjs/internal/operators/mergeMap.js:59:18)
    at MergeMapSubscriber.Subscriber.next (/Users/plambe/Desktop/R2/angular-electron-etl/node_modules/@angular/cli/node_modules/rxjs/internal/Subscriber.js:67:18)
    at MapSubscriber._next (/Users/plambe/Desktop/R2/angular-electron-etl/node_modules/@angular/cli/node_modules/rxjs/internal/operators/map.js:55:26)
    at MapSubscriber.Subscriber.next (/Users/plambe/Desktop/R2/angular-electron-etl/node_modules/@angular/cli/node_modules/rxjs/internal/Subscriber.js:67:18)
    at Observable.rxjs_1.Observable.obs [as _subscribe] (/Users/plambe/Desktop/R2/angular-electron-etl/node_modules/@angular/cli/node_modules/@angular-devkit/core/node/host.js:263:21)
    at Observable._trySubscribe (/Users/plambe/Desktop/R2/angular-electron-etl/node_modules/@angular/cli/node_modules/rxjs/internal/Observable.js:44:25)
    at Observable.subscribe (/Users/plambe/Desktop/R2/angular-electron-etl/node_modules/@angular/cli/node_modules/rxjs/internal/Observable.js:30:22)
    at MapOperator.call (/Users/plambe/Desktop/R2/angular-electron-etl/node_modules/@angular/cli/node_modules/rxjs/internal/operators/map.js:32:23)```

I'm getting this error when trying to use any of the build commands. The dir definitely exists

0xburn2 avatar Apr 16 '19 16:04 0xburn2

Try to delete node_modules folder and launch npm install again

Leonardonline avatar Apr 17 '19 06:04 Leonardonline

That seems to have given me more errors Screen Shot 2019-04-17 at 9 18 19 AM Screen Shot 2019-04-17 at 9 18 04 AM

From here, I ran npm install again to re-generate the node_modules but then I'm back to square one. For some reason npm start works but npm run electron:mac doesn't

0xburn2 avatar Apr 17 '19 13:04 0xburn2

There's issues with tar dependency

High Arbitrary File Overwrite Package tar Patched in >=4.4.2 Dependency of @angular-devkit/build-angular [dev] Path @angular-devkit/build-angular > node-sass > node-gyp > tar More info https://npmjs.com/advisories/803

Build issues because I don't have python 2 but npm start brings up electron with message app works!

martin0 avatar May 06 '19 14:05 martin0

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 29 '19 10:09 stale[bot]