Cannot install package in atom 1.18.0 x64, Ubuntu 16.04
- Linguagem predominante
- CoffeeScript
- Estrelas
- 518
- Forks
- 70
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Clicking `install`, installation failed with following message:
```
Installing “pigments@0.39.1” failed.
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm ERR! Linux 4.8.0-56-generic
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/paul/.atom/.apm/.apmrc" "--userconfig" "/home/paul/.atom/.apmrc" "install" "/tmp/d-117523-3224-6fn9dv.qut2t65hfr/package.tgz" "--runtime=electron" "--target=1.3.15" "--arch=x64" "--global-style"
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! file /home/paul/.atom/.apm/fs-plus/2.10.1/package/package.json
npm ERR! code EJSONPARSE
npm ERR! Failed to parse json
npm ERR! No data, empty input at 1:1
npm ERR!
npm ERR! ^
npm ERR! File: /home/paul/.atom/.apm/fs-plus/2.10.1/package/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse
npm ERR! Please include the following file with any support request:
npm ERR! /tmp/apm-install-dir-117523-3224-1odwufa.3cz38cwhfr/npm-debug.log
```
Guia de contribuição
Direção de pesquisa
The error indicates a malformed package.json in the fs-plus dependency. Check the apm installation logs and the fs-plus package cache location. Look at how atom-pigments declares dependencies and see if there's a corrupted cache. The fix likely involves clearing the apm cache or updating the dependency version.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- coffeescript, nodejs
- Domínio
- cli, tooling
- Tipo de issue
- Bug
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Status de atividade
- Estagnada
- Clareza
- Claramente especificada
- Facilidade para iniciantes
- 45/100