-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should probably do clean install #1
Comments
a little bit of a catch-22 here.... step 3 assumes this is a newly-created folder which (most important!!) does NOT have any needless to say,
correct me if i'm wrong, but the initial install into an empty will not work with |
No, I don't believe it's a catch-22. I think the process goes something like this: One time:
Thereafter:
Thus:
|
hmmmm..... by "developer" you mean somebody in the kitchen, and by "user" you mean a customer at the restaurant??? i'm still now sure how does the "user" receives the FWIW, the npm package itself is not hosted at github.... |
The package-lock.json comes alongside the package.json -- i.e it's in the tarball that is stored in the NPM registry. |
So when you say: So with install, you get a potentially different set of packages every time you install -- but with clean-install, you get the same set of packages every time you install. |
By developer I mean you. ;-) And by user I mean people who want to use Em -- but not create Em and it's tools. I was being relative to EM and its tools -- not to software development in general. |
It doesn't matter how the em-sdk package is created. In the end, it's a tarball stored in a registry. What I'm talking about is what is inside the tarball; most notably, the package.json and package-lock.json files. |
i know that, but it still begs the question i posed originally.... here's what happens when (as a "user") i do an
as it says here, i need to do an "ordinary" |
No, it shows that the existing tarball doesn't contain a package-lock.json file -- which is a fault in your process -- not the EM user's. There is no problem if the .em-sdk folder is completely empty at the start. So the process (for you) would be something like this:
|
got it.... part of a larger task to "clean up the kitchen" and fix this (and other) processes that are questionable.... help wanted here 😉 |
resolved in the new install infrastructure.... |
In https://docs.openem.org/install/, installation step 3 which currently reads:
should probably be
npm ci
rather thannpm install
The text was updated successfully, but these errors were encountered: