coffutt / atom-hacker-news

Atom package to view and navigate to pages posted to Hacker News.
MIT License
7 stars 6 forks source link

Failed to load the hacker-news package #20

Open tymik opened 5 years ago

tymik commented 5 years ago

[Enter steps to reproduce:]

  1. Install package inside Atom
  2. get the error right after the installation

Atom: 1.33.0 x64 Electron: 2.0.11 OS: Ubuntu 18.10 Thrown From: hacker-news package 0.2.2

Stack Trace

Failed to load the hacker-news package

At Cannot read property 'prototype' of undefined

TypeError: Cannot read property 'prototype' of undefined
    at /packages/hacker-news/lib/hacker-news-view.js:18:29
    at /packages/hacker-news/lib/hacker-news-view.js:21:3)
    at /packages/hacker-news/lib/hacker-news-view.js:92:3)
    at Module.get_Module._compile (/usr/share/atom/resources/app/static/<embedded>:11:146684)
    at Object.value [as .js] (/usr/share/atom/resources/app/static/<embedded>:11:150231)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (/usr/share/atom/resources/app/static/<embedded>:11:145974)
    at /packages/hacker-news/lib/hacker-news.coffee:1:18)
    at /packages/hacker-news/lib/hacker-news.coffee:1:1)
    at /packages/hacker-news/lib/hacker-news.coffee:1:1)
    at Module.get_Module._compile (/usr/share/atom/resources/app/static/<embedded>:11:146684)
    at Object.value [as .coffee] (/usr/share/atom/resources/app/static/<embedded>:11:150231)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (internal/module.js:11:18)
    at customRequire (/usr/share/atom/resources/app/static/<embedded>:1:625253)
    at Package.requireMainModule (/usr/share/atom/resources/app/static/<embedded>:11:2922556)
    at measure (/usr/share/atom/resources/app/static/<embedded>:11:2909267)
    at Package.measure (/usr/share/atom/resources/app/static/<embedded>:11:2908099)
    at Package.load (/usr/share/atom/resources/app/static/<embedded>:11:2908840)
    at PackageManager.loadAvailablePackage (/usr/share/atom/resources/app/static/<embedded>:11:381123)
    at PackageManager.loadPackage (/usr/share/atom/resources/app/static/<embedded>:11:379851)
    at PackageManager.activatePackage (/usr/share/atom/resources/app/static/<embedded>:11:382355)
    at /usr/share/atom/resources/app/static/<embedded>:11:916137
    at r (/usr/share/atom/resources/app/static/<embedded>:11:910743)
    at o (/usr/share/atom/resources/app/static/<embedded>:14:1036521)
    at t.bufferStream (/usr/share/atom/resources/app/static/<embedded>:14:1036675)
    at Socket.e.on (/usr/share/atom/resources/app/static/<embedded>:14:1035277)
    at emitOne (events.js:121:20)
    at Socket.emit (events.js:211:7)
    at Pipe._handle.close [as _onclose] (net.js:554:12)

Commands

     -2:02.4.0 core:page-up (div.panels-item)

Non-Core Packages

ansible-snippets 0.2.0 
ansible-vault 0.7.8 
atom-clock 0.1.16 
atom-sticker 0.5.0 
autocomplete-ansible 0.1.24 
build-dockerfile 1.0.1 
docker 0.8.0 
dockerletion 0.2.0 
formatter-json 1.0.1 
hacker-news 0.2.2 
Hydrogen 2.6.0 
ide-docker 0.1.0 
language-ansible 0.2.2 
language-docker 1.1.8 
language-terraform 0.8.1 
linter 2.0.0 
linter-ansible-linting 1.3.3 
linter-docker 0.3.2 
linter-terraform-syntax 1.2.4 
pg-formatter 0.0.1 
rss-ticker 5.0.0 
xml-formatter 0.11.0