JunoLab / atom-ink

IDE toolkit for Atom
MIT License
228 stars 40 forks source link

Failed to load the ink package #81

Closed ghost closed 7 years ago

ghost commented 7 years ago

After the installing the ink-package manually, because of other issues I get this error message right after the start of Atom. I would appreciate if someone can help me fix this issue.

Atom Version: 1.10.2 Electron Version: 0.37.8 Thrown From: ink package, v0.5.0

Stack Trace

Failed to load the ink package

At Cannot find module 'underscore-plus'

Error: Cannot find module 'underscore-plus'
    at Module._resolveFilename (module.js:339:15)
    at Function.Module._resolveFilename (C:\Users\L\AppData\Local\atom\app-1.10.2\resources\app.asar\src\module-cache.js:383:52)
    at Function.Module._load (module.js:290:25)
    at Module.require (module.js:367:17)
    at require (C:\Users\L\AppData\Local\atom\app-1.10.2\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.<anonymous> (file:///C:/Users/L/.atom/packages/atom-ink-0.5.0/lib/editor/result.coffee:2:14)
    at Object.<anonymous> (file:///C:/Users/L/.atom/packages/atom-ink-0.5.0/lib/editor/result.coffee:2:1)
    at Module._compile (C:\Users\L\AppData\Local\atom\app-1.10.2\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (C:\Users\L\AppData\Local\atom\app-1.10.2\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (C:\Users\L\AppData\Local\atom\app-1.10.2\resources\app.asar\src\native-compile-cache.js:50:27)
    at Object.<anonymous> (file:///C:/Users/L/.atom/packages/atom-ink-0.5.0/lib/ink.coffee:7:10)
    at Object.<anonymous> (file:///C:/Users/L/.atom/packages/atom-ink-0.5.0/lib/ink.coffee:1:1)
    at Module._compile (C:\Users\L\AppData\Local\atom\app-1.10.2\resources\app.asar\src\native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (C:\Users\L\AppData\Local\atom\app-1.10.2\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (C:\Users\L\AppData\Local\atom\app-1.10.2\resources\app.asar\src\native-compile-cache.js:50:27)
    at Package.module.exports.Package.requireMainModule (C:\Users\L\AppData\Local\atom\app-1.10.2\resources\app.asar\src\package.js:718:27)
    at C:\Users\L\AppData\Local\atom\app-1.10.2\resources\app.asar\src\package.js:117:28
    at Package.module.exports.Package.measure (C:\Users\L\AppData\Local\atom\app-1.10.2\resources\app.asar\src\package.js:92:15)
    at Package.module.exports.Package.load (C:\Users\L\AppData\Local\atom\app-1.10.2\resources\app.asar\src\package.js:106:12)
    at PackageManager.module.exports.PackageManager.loadPackage (C:\Users\L\AppData\Local\atom\app-1.10.2\resources\app.asar\src\package-manager.js:457:14)
    at C:\Users\L\AppData\Local\atom\app-1.10.2\resources\app.asar\src\package-manager.js:402:19
    at Config.module.exports.Config.transact (C:\Users\L\AppData\Local\atom\app-1.10.2\resources\app.asar\src\config.js:312:16)
    at PackageManager.module.exports.PackageManager.loadPackages (C:\Users\L\AppData\Local\atom\app-1.10.2\resources\app.asar\src\package-manager.js:397:19)
    at C:\Users\L\AppData\Local\atom\app-1.10.2\resources\app.asar\src\atom-environment.js:754:28

Commands

Config

{}

Installed Packages

# User
ink, v0.5.0 (inactive)
language-julia, v0.5.0 (inactive)
latex-completions, v0.3.1 (inactive)
tool-bar, v1.0.1 (inactive)
uber-juno, v0.1.1 (inactive)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.44.0 (inactive)
base16-tomorrow-dark-theme, v1.1.0 (inactive)
base16-tomorrow-light-theme, v1.1.1 (inactive)
one-dark-ui, v1.5.0 (inactive)
one-light-ui, v1.5.0 (inactive)
one-dark-syntax, v1.3.0 (inactive)
one-light-syntax, v1.3.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.5.3 (inactive)
archive-view, v0.61.1 (inactive)
autocomplete-atom-api, v0.10.0 (inactive)
autocomplete-css, v0.11.2 (inactive)
autocomplete-html, v0.7.2 (inactive)
autocomplete-plus, v2.31.1 (inactive)
autocomplete-snippets, v1.11.0 (inactive)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (inactive)
background-tips, v0.26.1 (inactive)
bookmarks, v0.41.0 (inactive)
bracket-matcher, v0.82.1 (inactive)
command-palette, v0.38.0 (inactive)
deprecation-cop, v0.54.1 (inactive)
dev-live-reload, v0.47.0 (inactive)
encoding-selector, v0.22.0 (inactive)
exception-reporting, v0.39.0 (inactive)
find-and-replace, v0.201.0 (inactive)
fuzzy-finder, v1.3.0 (inactive)
git-diff, v1.1.0 (inactive)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.1 (inactive)
image-view, v0.58.2 (inactive)
incompatible-packages, v0.26.1 (inactive)
keybinding-resolver, v0.35.0 (inactive)
line-ending-selector, v0.5.0 (inactive)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (inactive)
metrics, v0.53.1 (inactive)
notifications, v0.65.0 (inactive)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.242.2 (inactive)
snippets, v1.0.2 (inactive)
spell-check, v0.67.1 (inactive)
status-bar, v1.4.1 (inactive)
styleguide, v0.47.0 (inactive)
symbols-view, v0.113.0 (inactive)
tabs, v0.100.2 (inactive)
timecop, v0.33.2 (inactive)
tree-view, v0.208.2 (inactive)
update-package-dependencies, v0.10.0 (inactive)
welcome, v0.34.0 (inactive)
whitespace, v0.33.0 (inactive)
wrap-guide, v0.38.1 (inactive)
language-c, v0.52.1 (inactive)
language-clojure, v0.21.0 (inactive)
language-coffee-script, v0.47.2 (inactive)
language-csharp, v0.12.1 (inactive)
language-css, v0.37.1 (inactive)
language-gfm, v0.88.0 (inactive)
language-git, v0.15.0 (inactive)
language-go, v0.42.1 (inactive)
language-html, v0.45.1 (inactive)
language-hyperlink, v0.16.0 (inactive)
language-java, v0.23.0 (inactive)
language-javascript, v0.119.0 (inactive)
language-json, v0.18.2 (inactive)
language-less, v0.29.5 (inactive)
language-make, v0.22.2 (inactive)
language-mustache, v0.13.0 (inactive)
language-objective-c, v0.15.1 (inactive)
language-perl, v0.35.0 (inactive)
language-php, v0.37.2 (inactive)
language-property-list, v0.8.0 (inactive)
language-python, v0.45.0 (inactive)
language-ruby, v0.69.0 (inactive)
language-ruby-on-rails, v0.25.0 (inactive)
language-sass, v0.56.0 (inactive)
language-shellscript, v0.22.4 (inactive)
language-source, v0.9.0 (inactive)
language-sql, v0.23.0 (inactive)
language-text, v0.7.1 (inactive)
language-todo, v0.28.0 (inactive)
language-toml, v0.18.0 (inactive)
language-xml, v0.34.9 (inactive)
language-yaml, v0.26.0 (inactive)

# Dev
No dev packages
pfitzseb commented 7 years ago

So you installed ink manually (by cloning the repo and then doing apm link), right? If so, try apm install in the ink install dir (should be C:\Users\L\.atom\packages\ink).

ghost commented 7 years ago

If I try apm install i get another error. I guess there are some other files missing in the system.

C:\Users\L\.atom\packages>apm link ink
INFORMATION: Es konnten keine Dateien mit dem angegebenen
Muster gefunden werden.
Das System kann die angegebene Datei nicht finden.
Linking C:\Users\L\.atom\packages\ink to C:\Users\L\.atom\packages\ink failed: EEXIST: file already exists, symlink 'C:\
Users\L\.atom\packages\ink' -> 'C:\Users\L\.atom\packages\ink'

C:\Users\L\.atom\packages>apm install ink
INFORMATION: Es konnten keine Dateien mit dem angegebenen
Muster gefunden werden.
Das System kann die angegebene Datei nicht finden.
Installing ink to C:\Users\L\.atom\packages failed
Request for package information failed: self signed certificate in certificate chain (SELF_SIGNED_CERT_IN_CHAIN)
ghost commented 7 years ago

I got it. I finally found this issue and now it works. https://github.com/atom/atom/issues/4122

pfitzseb commented 7 years ago

Alright, glad you figured it out. Enjoy Juno!