structor icon indicating copy to clipboard operation
structor copied to clipboard

Running Structor from IntelliJ - no global or local install (debugging/running from IDE)

Open kewilson opened this issue 6 years ago • 0 comments

At this point If anyone has a sure fire way to get structor to run and be usable on Fedora 29 w/ node.js 10.14.1 I'd greatly appeciate the assistance. Ultimately I want to be able to simply select Run->Debug from the IntelliJ run menu without it being installed globally or otherwise to use it but have it in debug mode so any errors are easily detected, logged and therefore fixable with a pull request.

Ideas?

After a fresh clone of master (https://github.com/ipselon/structor):

Install libpng-devel Everything builds fine using npm run build-server/client/etc.

Attempts to run after installing globally - fail (missing file in hidden .structor folder files .. see below). Attempts to install locally fail, ENOSELF .. obviously.

Just to verify that I can run the app outside of the IDE but not installed globally. when I attempted to run after a "yarn build-server" using the method shown here https://github.com/ipselon/structor/issues/58 I get many cannot find files located in:

$HOME//<project_folder>/.structor/

Note: tried using the structor-starter repo but it emits errors .. was able to get a fork of the starter to run (https://github.com/ProphetDaniel/structor-starter).


Error happened during server initialization: Error: ENOENT: no such file or directory, stat '/home/myuserfolder/.structor/config.js' Error: ENOENT: no such file or directory, stat '/home/myuserfolder/.structor/webpack.app.js' Error: ENOENT: no such file or directory, stat '/home/myuserfolder/.structor/app/components.js' Error: ENOENT: no such file or directory, stat '/home/myuserfolder/.structor/app/reducers.js' Error: ENOENT: no such file or directory, stat '/home/myuserfolder/.structor/app/sagas.js' Error: ENOENT: no such file or directory, stat '/home/myuserfolder/.structor/defaults' Error: ENOENT: no such file or directory, stat '/home/myuserfolder/.structor/docs' Error: ENOENT: no such file or directory, stat '/home/myuserfolder/.structor/gengine' Error: ENOENT: no such file or directory, stat '/home/myuserfolder/.structor/gengine/scaffolds' Error: ENOENT: no such file or directory, stat '/home/myuserfolder/.structor/gengine/application' Error: ENOENT: no such file or directory, stat '/home/myuserfolder/.structor/gengine/sandbox' Error: ENOENT: no such file or directory, stat '/home/myuserfolder/.structor/src' Error: ENOENT: no such file or directory, stat '/home/myuserfolder/.structor/src/PageForDesk.js' Error: ENOENT: no such file or directory, stat '/home/myuserfolder/.structor/src/default.js' Error: ENOENT: no such file or directory, stat '/home/myuserfolder/.structor/docs' Error: ENOENT: no such file or directory, stat '/home/myuserfolder/.structor/docs/Readme.md' Error: ENOENT: no such file or directory, stat '/home/myuserfolder/node_modules' Error: ENOENT: no such file or directory, stat '/home/myuserfolder/.structor/desk/model.json' Error: ENOENT: no such file or directory, stat '/home/myuserfolder/.structor/desk'

kewilson avatar Dec 08 '18 01:12 kewilson