haringsrob / linter-drupalcs

Atom phpcs package build for Drupal
0 stars 1 forks source link

Uncaught TypeError: _this.notificationEl.querySelector is not a function #4

Open StevenPatz opened 7 years ago

StevenPatz commented 7 years ago
  1. Enable package
  2. Get the Uncaught TypeError described below

Atom: 1.17.2 x64 Electron: 1.3.15 OS: Mac OS X 10.11.6 Thrown From: linter-drupalcs package 1.4.1

Stack Trace

Uncaught TypeError: _this.notificationEl.querySelector is not a function

At /Users/steven.patz/.atom/packages/linter-drupalcs/node_modules/atom-package-deps/lib/view.js:22

TypeError: _this.notificationEl.querySelector is not a function
    at /packages/linter-drupalcs/node_modules/atom-package-deps/lib/view.js:22:58

Commands

Non-Core Packages

atom-beautify 0.29.24 
atom-clock 0.1.7 
atom-drupal-api 1.0.1 
drupal 1.9.0 
linter-drupalcs 1.4.1 
php-twig 4.0.0 
run-in-atom 1.0.5 
storm1er commented 6 years ago

same here EDIT: Oops, README.md :

This linter plugin for Linter provides an interface to phpcs. It is a fork of the linter-phpcs package modified to work better for Drupal projects.

Just installed steelbrain/linter and it works ^^'

Arcanemagus commented 6 years ago

@haringsrob Updating atom-package-deps to at least v3 will fix this (the current version being v4.6.0).