vincentcn / markdown-scroll-sync

Auto-scroll markdown-preview tab to match markdown source
MIT License
95 stars 26 forks source link

Failed to activate the markdown-scroll-sync package #1461

Closed LJIEU closed 2 years ago

LJIEU commented 2 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.58.0 x64 Electron: 9.4.4 OS: Unknown Windows version Thrown From: markdown-scroll-sync package 2.1.2

Stack Trace

Failed to activate the markdown-scroll-sync package

At Cannot find module 'C:\Users\刘杰\.atom\packages\markdown-preview-plus\lib\markdown-preview-view'
Require stack:
- C:\Users\刘杰\.atom\packages\markdown-scroll-sync\lib\main.coffee
- E:\Atom\Atom x64\resources\app.asar\static\index.html

Error: Cannot find module 'C:\Users\刘杰\.atom\packages\markdown-preview-plus\lib\markdown-preview-view'
Require stack:
- C:\Users\刘杰\.atom\packages\markdown-scroll-sync\lib\main.coffee
- E:\Atom\Atom x64\resources\app.asar\static\index.html
    at Module._resolveFilename (internal/modules/cjs/loader.js:797:17)
    at o._resolveFilename (electron/js2c/renderer_init.js:43:689)
    at Function.get_Module._resolveFilename (E:/Atom/Atom x64/resources/app/static/<embedded>:11:157920)
    at Module.require (/app.asar/static/index.js:61:43)
    at require (E:/Atom/Atom x64/resources/app/static/<embedded>:11:149207)
    at MarkdownScrlSync.activate (/packages/markdown-scroll-sync/lib/main.coffee:23:28)
    at Package.activateNow (E:/Atom/Atom x64/resources/app/static/<embedded>:11:3508863)
    at E:/Atom/Atom x64/resources/app/static/<embedded>:11:3508275
    at Package.measure (E:/Atom/Atom x64/resources/app/static/<embedded>:11:3505853)
    at E:/Atom/Atom x64/resources/app/static/<embedded>:11:3508135
    at new Promise (<anonymous>)
    at Package.activate (E:/Atom/Atom x64/resources/app/static/<embedded>:11:3508078)
    at PackageManager.activatePackage (E:/Atom/Atom x64/resources/app/static/<embedded>:11:385612)
    at E:/Atom/Atom x64/resources/app/static/<embedded>:11:385228
    at Config.transactAsync (E:/Atom/Atom x64/resources/app/static/<embedded>:11:334752)
    at PackageManager.activatePackages (E:/Atom/Atom x64/resources/app/static/<embedded>:11:385178)
    at PackageManager.activate (E:/Atom/Atom x64/resources/app/static/<embedded>:11:384728)
    at E:/Atom/Atom x64/resources/app/static/<embedded>:1:824965
    at async Promise.all (index 0)
    at AtomEnvironment.startEditorWindow (E:/Atom/Atom x64/resources/app/static/<embedded>:1:825502)

Commands

     -0:13.4.0 sync-settings:create-backup (atom-workspace.workspace.scrollbars-visible-always.theme-atom-dark-syntax.theme-atom-dark-ui)

Non-Core Packages

atom-file-icons 0.7.1 
docblockr 0.14.2 
highlight-selected 0.17.0 
language-markdown 0.37.0 
markdown-image-paste 2.5.2 
markdown-preview-plus 4.11.1 
markdown-scroll-sync 2.1.2 
markdown-table-editor 1.1.3 
pdf-view 0.73.0 
sync-settings 5.2.15