Failed to activate the pigments package
- Linguagem predominante
- CoffeeScript
- Estrelas
- 518
- Forks
- 70
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
```
SyntaxError: Invalid or unexpected token
at Module.get_Module._compile (atom\app-1.23.3\resources\app\src\native-compile-cache.js:94:52)
at Object.value [as .coffee] (atom\app-1.23.3\resources\app\src\compile-cache.js:239:29)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (atom/app-1.23.3/resources/app.asar/static/index.js:47:45)
at require (atom\app-1.23.3\resources\app\src\native-compile-cache.js:66:33)
at ColorBuffer.module.exports.ColorBuffer.scanBufferForColors (pigments/lib/color-buffer.coffee:389:14)
at ColorBuffer.module.exports.ColorBuffer.initialize (pigments/lib/color-buffer.coffee:97:27)
at new ColorBuffer (pigments/lib/color-buffer.coffee:83:6)
at ColorProject.module.exports.ColorProject.colorBufferForEditor (pigments/lib/color-project.coffee:284:51)
at pigments/lib/color-project.coffee:258:17
at Workspace.observeTextEditors (atom\app-1.23.3\resources\app\src\workspace.js:725:15)
at ColorProject.module.exports.ColorProject.initializeBuffers (pigments/lib/color-project.coffee:254:39)
at new ColorProject (pigments/lib/color-project.coffee:110:6)
at Object.activate (pigments/lib/pigments.coffee:19:7)
at Package.module.exports.Package.activateNow (atom\app-1.23.3\resources\app\src\package.js:255:25)
at atom\app-1.23.3\resources\app\src\package.js:227:38
at Package.module.exports.Package.measure (atom\app-1.23.3\resources\app\src\package.js:99:21)
at atom\app-1.23.3\resources\app\src\package.js:220:32
at Package.module.exports.Package.activate (atom\app-1.23.3\resources\app\src\package.js:217:40)
at PackageManager.activatePackage (atom\app-1.23.3\resources\app\src\package-manager.js:695:42)
at atom\app-1.23.3\resources\app\node_modules\settings-view\lib\package-manager.js:535:35
at exit (atom\app-1.23.3\resources\app\node_modules\settings-view\lib\package-manager.js:128:22)
at triggerExitCallback (atom\app-1.23.3\resources\app\src\buffered-process.js:338:17)
at ChildProcess. (atom\app-1.23.3\resources\app\src\buffered-process.js:368:17)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)```
Guia de contribuição
Direção de pesquisa
The error occurs in color-buffer.coffee at line 389, likely during parsing. Start by examining the scanBufferForColors method and the file's syntax. Check for invalid tokens in CoffeeScript files, possibly due to a recent Atom update. Run the package locally to reproduce the error, then trace the stack to identify the exact token causing the issue.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- coffeescript
- Domínio
- desktop
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 30/100