|
directory and then run 'npm init' to install all the dependencies
listed in package.json. The purpose of package.json and
package-lock.json is to keep from having to store the node_modules in git.
Aaron Bartell
IBM i hosting, starting at $157/month. litmis.com/spaces
Should have been:
Is that the only way it's done?
-----Original Message-----
From: Justin Taylor [mailto:JUSTIN@xxxxxxxxxxxxx]
Sent: Wednesday, February 07, 2018 12:16 PM
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxx>
Subject: Re: [IBMiOSS] Deploy Node?
I can do that.
Is that the only it's done? The reason I ask, is that my 4601 bytes
of source code have a 5.77 MB directory. If a shop has a lot of apps,
that kind of bloat might be a problem.
-----Original Message-----
From: Jack Woehr [mailto:jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx]
Sent: Tuesday, February 06, 2018 12:10 PM
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxx>
Subject: Re: [IBMiOSS] Deploy Node?
Well, copy your source dir and the node_modules dir with it.
If you depend on system modules, it will be helpful if they all exist
on the target machine :)
--
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: https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
https://archive.midrange.com/opensource.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.