Проблема установки AngularIDE - PullRequest
0 голосов
/ 23 января 2020

Я привязан к установке Angular IDE, загруженная со страницы https://www.genuitec.com/products/angular-ide/download Во время запуска сообщения сценария. js Я получил сообщение об ошибке: EPERM: операция не разрешена, chmod устанавливаю как sudo. Пожалуйста, найдите прикрепленный экран и журнал. Я нашел некоторые старые темы, но я не нашел соответствующей информации там, например, https://github.com/angular/angular/issues/13935

j@Dell-ntb:~$ npm -v
6.13.6
j@Dell-ntb:~$ nodejs -v
v12.14.1

Я не нашел никаких замечаний по установке, readme или других, только следующие строки из страница загрузки:

ngide install ~/Development/angular-ide
ngide open Foo.ts

Пожалуйста, дайте несколько советов, чем может быть вызвана упомянутая ошибка.

Screen

7413 info lifecycle moment@2.19.3~postinstall: moment@2.19.3
7414 silly postinstall node-downloader-helper@1.0.8
7415 info lifecycle node-downloader-helper@1.0.8~postinstall: node-downloader-helper@1.0.8
7416 silly postinstall ramda@0.25.0
7417 info lifecycle ramda@0.25.0~postinstall: ramda@0.25.0
7418 silly postinstall rxjs@5.0.1
7419 info lifecycle rxjs@5.0.1~postinstall: rxjs@5.0.1
7420 silly postinstall semver@6.2.0
7421 info lifecycle semver@6.2.0~postinstall: semver@6.2.0
7422 silly postinstall tar-fs@1.13.2
7423 info lifecycle tar-fs@1.13.2~postinstall: tar-fs@1.13.2
7424 silly postinstall winston@2.3.1
7425 info lifecycle winston@2.3.1~postinstall: winston@2.3.1
7426 silly postinstall ws@1.1.5
7427 info lifecycle ws@1.1.5~postinstall: ws@1.1.5
7428 silly postinstall angular-ide@0.9.71
7429 info lifecycle angular-ide@0.9.71~postinstall: angular-ide@0.9.71
7430 verbose lifecycle angular-ide@0.9.71~postinstall: unsafe-perm in lifecycle false
7431 verbose lifecycle angular-ide@0.9.71~postinstall: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/usr/lib/node_modules/angular-ide/node_modules/.bin:/usr/lib/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
7432 verbose lifecycle angular-ide@0.9.71~postinstall: CWD: /usr/lib/node_modules/angular-ide
7433 silly lifecycle angular-ide@0.9.71~postinstall: Args: [ '-c', 'node ./scripts/post.js' ]
7434 silly lifecycle angular-ide@0.9.71~postinstall: Returned: code: 1  signal: null
7435 info lifecycle angular-ide@0.9.71~postinstall: Failed to exec postinstall script
7436 timing action:postinstall Completed in 158ms
7437 verbose unlock done using /home/j/.npm/_locks/staging-a072192f34a17023.lock for /usr/lib/node_modules/.staging
7438 timing stage:rollbackFailedOptional Completed in 444ms
7439 timing stage:runTopLevelLifecycles Completed in 13158ms
7440 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/angular-ide/node_modules/fsevents):
7441 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
7442 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS:    darwin
7442 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch:  any
7442 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS:   linux
7442 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
7443 verbose stack Error: angular-ide@0.9.71 postinstall: `node ./scripts/post.js`
7443 verbose stack Exit status 1
7443 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
7443 verbose stack     at EventEmitter.emit (events.js:223:5)
7443 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
7443 verbose stack     at ChildProcess.emit (events.js:223:5)
7443 verbose stack     at maybeClose (internal/child_process.js:1021:16)
7443 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
7444 verbose pkgid angular-ide@0.9.71
7445 verbose cwd /home/j/Downloads
7446 verbose Linux 4.15.0-74-generic
7447 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "angular-ide"
7448 verbose node v12.14.1
7449 verbose npm  v6.13.4
7450 error code ELIFECYCLE
7451 error errno 1
7452 error angular-ide@0.9.71 postinstall: `node ./scripts/post.js`
7452 error Exit status 1
7453 error Failed at the angular-ide@0.9.71 postinstall script.
7453 error This is probably not a problem with npm. There is likely additional logging output above.
7454 verbose exit [ 1, true ]
...