-
Notifications
You must be signed in to change notification settings - Fork 8
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
Re-review library dependencies wiki page and fix package.json versions #717
Comments
Related to issue #205. |
I cleaned up the package.json and attempted to npm install again to fix up the package-lock.json with the changes, but I had an error in trying that. It says "Unexpected end of JSON input" with a more detailed error message elsewhere on my computer that I could not elicit any significant information from (I can show you at the meeting). In any case, when I npm start, GRNsight still seems to work fine. My excel files still don't download properly, though (see issue #714 ). @kdahlquist @dondi |
@afiller1 Was it this same error?
|
@johnllopez616 Yes! And when I looked in the log, I couldn't really tell what the problem was...? |
Can you upload the log @afiller1 please? |
@afiller1 the very end of the log should give you a clue. It states that there was an unexpected end in the JSON. Scrolling up, you can see that it ends around where xmlbuilder is. I’m on my phone, or I would give you a line number but start at the end of the log for now. |
Ok, I worked on this for a bit and it looks to me like there's probably something of with my Node install and that's where these errors are coming from. The errors point to files on my computer that I can't open, so I'm hoping to sit down with @dondi during his office hours tomorrow and go through how to fix it (classic snag, the downloaded packages are the things causing the problems :P And I'm not too gifted with Node downloading...). Besides that, I made a draft of an updated wiki page for the libraries everyone currently has. I kept it as a draft because I want to verify that we're keeping certain versions of libraries and double check that I have the versions right. I'm attaching the file with my error message and my wiki draft, maybe we can look over them tomorrow. |
@afiller1 Have you tried a complete re-install? This involves completely wiping out the node_modules folder and also package-lock.json. Do those and Otherwise, yes, let's look in my office sometime. |
Summary of "clean room" reset:
|
@johnllopez616 See if the clean room procedure ^^^^ helps you. |
Ran the "clean room" reset on my machine, then tried to run
I will try to reinstall and investigate Webpack, the package that allows us to use 'npm run start-dev' and see where that investigation leads me. |
Reinstalling |
I possibly found the culprit to our dependencies issues: Turns out we've been using a package called 'parallelshell' which has caused problems for multiple users when upgraded beyond 3.0.1. Refer to here: darkguy2008/parallelshell#57 Our package.json had the following attribute: |
Ok I have officially updated the Wiki with the correct versions of everything. I have also removed the ^'s and ~'s from package.json. I got |
I added a last modified date to the wiki. @afiller1, can you add a note about using the LTS version of node? So where in the documentation is there an explanation of what to do when we onboard a new team member and they run into the same kind of problem? |
@kdahlquist I can make a Troubleshooting page on the Wiki where we can put fix instructions to general problems. And I will add the LTS detail. |
Mainly worked on re-designing the Wiki this week. Restructured a little, re-labled, added Troubleshooting section and the clean house procedure page under it, in addition to the beta release procedure page under Procedures. Added other details here and there (about LTS, versions, whatnot). I can talk about it more at the meeting, and if anyone has anything else they would like to see on the Wiki, let me know. I still have a few edits to make on the new pages and some questions about various little things...I will bring it all up tomorrow. |
Finished the two pages I was working on (Updating Beta and NPM Troubleshooting). Wiki can be continually updated whenever we find more buggy things that would be easy to document for future users. Closing the issue now! |
Our library dependencies wiki page is due for a review (last modified January 2017). The package.json dependencies need to be cleaned up and set to fixed versions; a fresh install should be done so as to reset package-lock.json plus a round of tests should be performed.
For Node itself, we will adhere to the current LTS version.
The text was updated successfully, but these errors were encountered: