Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: directory.getRealPathSync is not a function #25

Open
DanielKristofKiss opened this issue Apr 11, 2018 · 0 comments
Open

TypeError: directory.getRealPathSync is not a function #25

DanielKristofKiss opened this issue Apr 11, 2018 · 0 comments

Comments

@DanielKristofKiss
Copy link

  1. Start atom
  2. Add a file to bookmark from a nuclide project
  3. Restart atom.

Atom: 1.25.1 x64
Electron: 1.7.11
OS: Mac OS X 10.13.4
Thrown From: file-bookmark package 1.0.3

Stack Trace

Failed to activate the file-bookmark package

At directory.getRealPathSync is not a function

TypeError: directory.getRealPathSync is not a function
    at Project.repositoryForDirectory (/Applications/Atom.app/Contents/Resources/app/src/project.js:242:46)
    at Array.map (native)
    at FileBookmark.activate (/packages/file-bookmark/lib/file-bookmark.coffee:67:44)
    at Package.activateNow (/Applications/Atom.app/Contents/Resources/app/src/package.js:230:33)
    at measure (/Applications/Atom.app/Contents/Resources/app/src/package.js:206:33)
    at Package.measure (/Applications/Atom.app/Contents/Resources/app/src/package.js:88:25)
    at activationPromise.Promise (/Applications/Atom.app/Contents/Resources/app/src/package.js:200:20)
    at Promise (<anonymous>)
    at Package.activate (/Applications/Atom.app/Contents/Resources/app/src/package.js:198:38)
    at PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:695:42)
    at config.transactAsync (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:670:36)
    at Config.transactAsync (/Applications/Atom.app/Contents/Resources/app/src/config.js:862:28)
    at PackageManager.activatePackages (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:668:23)
    at PackageManager.activate (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:647:50)
    at loadStatePromise.loadState.then (/Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:867:27)
    at <anonymous>

Commands

     -2:40.2.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)

Non-Core Packages

advanced-open-file 0.16.8 
atom-ctags 5.1.2 
clang-format 1.30.0 
column-select 1.0.1 
file-bookmark 1.0.3 
formatter-clangformat 1.0.1 
git-history 3.3.0 
highlight-selected 0.13.1 
language-plantuml 0.2.0 
maximize-panes 0.2.0 
navigate 0.1.17 
navigation-history 0.1.8 
nuclide 0.285.0 
plantuml-viewer 0.7.2 
platformio-ide-terminal 2.8.0 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant