how do i troubleshoot a program that isn't running in ubuntu

孤者浪人 提交于 2019-12-20 03:34:10

问题


Publii is a desktop-based CMS for Windows, Mac and Linux.

I downloaded the appimage and deb packages and installed it, but neither seems to be launching, I have no way to troubleshoot why it isn't launching and I have used this software before on a previous installation of Ubuntu

How would I troubleshoot this program in Linux effectively? I'd prefer a terminal approach but a GUI is also good.

EDIT

following the instructions ran here

npm run dev

> Publii@0.31.3 dev /home/areahints/Publii
> cross-env NODE_ENV=development webpack --progress --colors --watch

  0% compiling
Webpack is watching the files…

Hash: 70ac0b5ea30dda937b0e                                                              
Version: webpack 3.11.0
Time: 74137ms
                                    Asset     Size  Chunks                    Chunk Names
logo.svg?69939e5dc57509b76e1edb5d774413e3  3.45 kB          [emitted]         
logo.png?02b693904e442a91ab7b9ee7f0bbb84e  1.37 kB          [emitted]         
                                 build.js   7.1 MB       0  [emitted]  [big]  main
 [112] ./app/src/main.js 4.63 kB {0} [built]
 [113] ./app/src/store/index.js 1.15 kB {0} [built]
 [114] ./app/src/store/default.state.js 855 bytes {0} [built]
 [115] ./app/src/store/helpers/mutations.js 13.2 kB {0} [built]
 [117] ./app/src/store/getters/site-names.js 288 bytes {0} [built]
 [118] ./app/src/store/getters/site-display-names.js 1.15 kB {0} [built]
 [119] ./app/src/store/getters/site-tags.js 826 bytes {0} [built]
 [120] ./app/src/store/getters/site-authors.js 2.51 kB {0} [built]
 [121] ./app/src/store/getters/site-posts.js 1.29 kB {0} [built]
 [125] ./app/src/store/getters/app-version.js 185 bytes {0} [built]
 [126] ./app/src/store/getters/themes.js 431 bytes {0} [built]
 [127] ./app/src/store/getters/theme-select.js 997 bytes {0} [built]
 [128] ./app/src/store/getters/tag-templates.js 534 bytes {0} [built]
 [130] ./app/src/router/index.js 3.17 kB {0} [built]
 [392] ./app/src/config/app-submenu.js 528 bytes {0} [built]
    + 514 hidden modules

ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue
Module not found: Error: Can't resolve '../../../node_modules//codemirror/addon/display/panel.js' in '/home/areahints/Publii/app/src/components/basic-elements'
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue 20:0-87
 @ ./app/src/components/basic-elements/CodeMirrorEditor.vue
 @ ./app/src/main.js

ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue
Module not found: Error: Can't resolve '../../../node_modules//codemirror/addon/scroll/annotatescrollbar.js' in '/home/areahints/Publii/app/src/components/basic-elements'
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue 17:0-110
 @ ./app/src/components/basic-elements/CodeMirrorEditor.vue
 @ ./app/src/main.js

ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue
Module not found: Error: Can't resolve '../../../node_modules//codemirror/addon/scroll/scrollpastend.js' in '/home/areahints/Publii/app/src/components/basic-elements'
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue 18:0-102
 @ ./app/src/components/basic-elements/CodeMirrorEditor.vue
 @ ./app/src/main.js

ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue
Module not found: Error: Can't resolve '../../../node_modules//codemirror/addon/scroll/simplescrollbars.js' in '/home/areahints/Publii/app/src/components/basic-elements'
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue 19:0-108
 @ ./app/src/components/basic-elements/CodeMirrorEditor.vue
 @ ./app/src/main.js

ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue
Module not found: Error: Can't resolve '../../../node_modules//codemirror/addon/search/jump-to-line.js' in '/home/areahints/Publii/app/src/components/basic-elements'
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue 12:0-98
 @ ./app/src/components/basic-elements/CodeMirrorEditor.vue
 @ ./app/src/main.js

ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue
Module not found: Error: Can't resolve '../../../node_modules//codemirror/addon/search/match-highlighter.js' in '/home/areahints/Publii/app/src/components/basic-elements'
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue 14:0-109
 @ ./app/src/components/basic-elements/CodeMirrorEditor.vue
 @ ./app/src/main.js

ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue
Module not found: Error: Can't resolve '../../../node_modules//codemirror/addon/search/matchesonscrollbar.js' in '/home/areahints/Publii/app/src/components/basic-elements'
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue 15:0-112
 @ ./app/src/components/basic-elements/CodeMirrorEditor.vue
 @ ./app/src/main.js

ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue
Module not found: Error: Can't resolve '../../../node_modules//codemirror/addon/search/search.js' in '/home/areahints/Publii/app/src/components/basic-elements'
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue 13:0-88
 @ ./app/src/components/basic-elements/CodeMirrorEditor.vue
 @ ./app/src/main.js

ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue
Module not found: Error: Can't resolve '../../../node_modules//codemirror/addon/search/searchcursor.js' in '/home/areahints/Publii/app/src/components/basic-elements'
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue 16:0-100
 @ ./app/src/components/basic-elements/CodeMirrorEditor.vue
 @ ./app/src/main.js

ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue
Module not found: Error: Can't resolve '../../../node_modules/codemirror-advanceddialog/dist/advanced-dialog.js' in '/home/areahints/Publii/app/src/components/basic-elements'
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue 21:0-111
 @ ./app/src/components/basic-elements/CodeMirrorEditor.vue
 @ ./app/src/main.js

ERROR in ./node_modules/css-loader!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-3e787ac0","scoped":false,"hasInlineConfig":false}!./node_modules/sass-loader/lib/loader.js!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue
Module not found: Error: Can't resolve '../../../node_modules/codemirror-advanceddialog/dist/dialog.css' in '/home/areahints/Publii/app/src/components/basic-elements'
 @ ./node_modules/css-loader!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-3e787ac0","scoped":false,"hasInlineConfig":false}!./node_modules/sass-loader/lib/loader.js!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue 4:10-131
 @ ./node_modules/vue-style-loader!./node_modules/css-loader!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-3e787ac0","scoped":false,"hasInlineConfig":false}!./node_modules/sass-loader/lib/loader.js!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue
 @ ./app/src/components/basic-elements/CodeMirrorEditor.vue
 @ ./app/src/main.js

ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue
Module not found: Error: Can't resolve '../../../node_modules/codemirror-revisedsearch/dist/revised-search.js' in '/home/areahints/Publii/app/src/components/basic-elements'
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue 22:0-108
 @ ./app/src/components/basic-elements/CodeMirrorEditor.vue
 @ ./app/src/main.js

ERROR in ./node_modules/css-loader!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-12a5d04f","scoped":false,"hasInlineConfig":false}!./node_modules/sass-loader/lib/loader.js!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./app/src/components/App.vue
Module not found: Error: Can't resolve '../../node_modules/vue-multiselect/dist/vue-multiselect.min.css' in '/home/areahints/Publii/app/src/components'
 @ ./node_modules/css-loader!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-12a5d04f","scoped":false,"hasInlineConfig":false}!./node_modules/sass-loader/lib/loader.js!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./app/src/components/App.vue 4:10-128
 @ ./node_modules/vue-style-loader!./node_modules/css-loader!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-12a5d04f","scoped":false,"hasInlineConfig":false}!./node_modules/sass-loader/lib/loader.js!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./app/src/components/App.vue
 @ ./app/src/components/App.vue
 @ ./app/src/main.js

ERROR in ./app/src/main.js
Module not found: Error: Can't resolve '../node_modules/vue-multiselect/dist/vue-multiselect.min.js' in '/home/areahints/Publii/app/src'
 @ ./app/src/main.js 43:0-82

ERROR in ./app/src/assets/vendor/js/codemirror/css.js
Module not found: Error: Can't resolve 'codemirror' in '/home/areahints/Publii/app/src/assets/vendor/js/codemirror'
 @ ./app/src/assets/vendor/js/codemirror/css.js 5:0-36
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue
 @ ./app/src/components/basic-elements/CodeMirrorEditor.vue
 @ ./app/src/main.js

ERROR in ./app/src/assets/vendor/js/codemirror/xml.js
Module not found: Error: Can't resolve 'codemirror' in '/home/areahints/Publii/app/src/assets/vendor/js/codemirror'
 @ ./app/src/assets/vendor/js/codemirror/xml.js 3:0-36
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue
 @ ./app/src/components/basic-elements/CodeMirrorEditor.vue
 @ ./app/src/main.js

ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue
Module not found: Error: Can't resolve 'codemirror' in '/home/areahints/Publii/app/src/components/basic-elements'
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/CodeMirrorEditor.vue 8:0-36
 @ ./app/src/components/basic-elements/CodeMirrorEditor.vue
 @ ./app/src/main.js

ERROR in ./app/src/main.js
Module not found: Error: Can't resolve 'moment' in '/home/areahints/Publii/app/src'
 @ ./app/src/main.js 2:0-28

ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/ColorPicker.vue
Module not found: Error: Can't resolve 'vue-color' in '/home/areahints/Publii/app/src/components/basic-elements'
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/basic-elements/ColorPicker.vue 21:0-35
 @ ./app/src/components/basic-elements/ColorPicker.vue
 @ ./app/src/main.js

ERROR in ./app/src/router/index.js
Module not found: Error: Can't resolve 'vue-router' in '/home/areahints/Publii/app/src/router'
 @ ./app/src/router/index.js 2:0-32
 @ ./app/src/main.js

ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/MenuItem.vue
Module not found: Error: Can't resolve 'vuedraggable' in '/home/areahints/Publii/app/src/components'
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/MenuItem.vue 71:0-37
 @ ./app/src/components/MenuItem.vue
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/Menus.vue
 @ ./app/src/components/Menus.vue
 @ ./app/src/router/index.js
 @ ./app/src/main.js

ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/Menus.vue
Module not found: Error: Can't resolve 'vuedraggable' in '/home/areahints/Publii/app/src/components'
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/Menus.vue 156:0-37
 @ ./app/src/components/Menus.vue
 @ ./app/src/router/index.js
 @ ./app/src/main.js

ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/post-editor/GalleryPopup.vue
Module not found: Error: Can't resolve 'vuedraggable' in '/home/areahints/Publii/app/src/components/post-editor'
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/post-editor/GalleryPopup.vue 127:0-37
 @ ./app/src/components/post-editor/GalleryPopup.vue
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/src/components/PostEditor.vue
 @ ./app/src/components/PostEditor.vue
 @ ./app/src/router/index.js
 @ ./app/src/main.js

回答1:


Though this question is outside the realm of Stack Overflow, I looked into this.

It sounds like you installed the individual files and now cannot run program on Ubuntu.

To be honest, I would delete what you have downloaded and then start fresh by downloading solely thru the terminal.

I found this website that has directions to install via terminal.

Install Publii Flat File CMS on Ubuntu 16.04 / 18.04 / 18.10

I hope this helps you.



来源:https://stackoverflow.com/questions/53368493/how-do-i-troubleshoot-a-program-that-isnt-running-in-ubuntu

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!