I think I figured out the errors that are being reported. I believe it has
to do with the path, not being able to find node in the directory structure.
The errors are being tossed for "require", "process", etc. and I think that
relates directly back to the path.
For the record I have the workspace set up in
/QOpensys/QIBM/UserData/OPS/Orion/serverworkspace/jo/joberholtzer/OrionConte
nt/HelloWorld
Which is where Orion chose to put the workspace. Clearly that can (and
maybe should) change to the rooted directory.
--
Jim Oberholtzer
Agile Technology Architects
-----Original Message-----
From: OpenSource [mailto:opensource-bounces@xxxxxxxxxxxx] On Behalf Of Aaron
Bartell
Sent: Friday, September 02, 2016 10:14 AM
To: IBMi Open Source Roundtable
Subject: Re: [IBMiOSS] Orion configuration
FWIW, there's multiple personalities merging with the Orion that IBM shipped
with 5733OPS. You have both the Linux'y stuff and also Java persona
involved.
Jim, check out this link for how to configure the links:
http://bit.ly/orion-config-link-paths
Concerning your second question about syntax warnings. The editor uses the
extension (.js) to know what type of file it's editing (which you probably
already know), so I am curious as to what errors you are seeing that you
believe are incorrect? Maybe you are instead wanting to modify ~how many~
errors are shown? If so, go into the settings cog (left nav) and see what
can be changed. Here's a screenshot from orionhub to show where you should
look:
http://www.screencast.com/t/HIhoNIHzZxk
On final note, there's one big thing I haven't yet resolved with Orion and
that is how it does source file tabs. You can have multiple files open but
they open up in separate ~browser~ tabs (vs. tabs within the same browser
window). You can open a file in a new tab by holding down Ctrl (Cmd on
Mac), but I always forget to do that so clicking on a new source file would
always replace the file currently being edited and that messed with my
normal development flow. I didn't lose changes because Orion auto saves,
but it just doesn't work for my brain because it's such a departure from
normal flow for me (old habits die hard?).
I am currently using VSCode+SSHFS for editing my Node.js on the IFS (or any
IFS file for that matter). I am actively writing an article for
MCPressOnline showing how everything fits together. If anyone is interested
in taking this approach, and viewing a work-in-progress GoogleDoc, then
please ping me at aaronbartell@xxxxxxxxx and I will get you a link to the
GoogleDoc.
Aaron Bartell
litmis.com - Services for open source on IBM i
On Fri, Sep 2, 2016 at 9:48 AM, Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>
wrote:
+1
It seems people forget what it was like to be a complete novice -
pretty common in any on-screen explanation of Unix-style commands, too
- you had better have read the man files - or something - and have
memorized the flags.
Regards
Vern
On 9/2/2016 9:19 AM, Jim Oberholtzer wrote:
-snip-
The documentation on the eclipse.org/Orion site is typical open
source documentation, it's written for folks that already know the
answers, rather than assisting those of us dunce heads that have the
temerity to not know it right off the bat.
--
Jim Oberholtzer
Agile Technology Architects
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.
As an Amazon Associate we earn from qualifying purchases.