dart-atom / dart

A Dart plugin for Atom.
http://dart-atom.github.io/dart/
BSD 3-Clause "New" or "Revised" License
154 stars 44 forks source link

NullError: method not found: 'apply' on null #1126

Closed apapasterg closed 7 years ago

apapasterg commented 7 years ago

Atom 1.17.2, dartlang 0.6.46, SDK 1.23.0 running on linux. atom-dartlang

parkerd commented 7 years ago

This appears to be because synced-sidebar has been removed from apm, but is still listed as a dependency here: https://github.com/dart-atom/dartlang/blob/master/package.json#L22

Manually removing that line from ~/.apm/packages/dartlang/package.json fixes the error for me.

devoncarew commented 7 years ago

Thanks for the pointer! Published a new version w/o the dep.

adrian83 commented 7 years ago

After removing ~/.atom directory and reinstalling atom the problem still occurs. My package.json doesn't contain any 'synced-sidebar' entries.

faku99 commented 7 years ago

@adrian83 I fixed this issue by installing atom-toolbar.

adrian83 commented 7 years ago

Works for me. Thanks