Skip to content

NPM 5 #8766

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

Closed
wants to merge 2 commits into from
Closed

NPM 5 #8766

wants to merge 2 commits into from

Conversation

paglias
Copy link
Contributor

@paglias paglias commented May 29, 2017

No description provided.

@paglias
Copy link
Contributor Author

paglias commented May 29, 2017

Should be ready

@paglias
Copy link
Contributor Author

paglias commented May 29, 2017

@SabreCat do you have an idea why the API tests are failing this way? I cannot find what would cause this

@SabreCat
Copy link
Member

That is strange. o.O I'll see what I can figure out, but @TheHollidayInn might also be a good person to ask!

@SabreCat SabreCat self-requested a review May 30, 2017 16:46
@SabreCat SabreCat self-assigned this May 30, 2017
@paglias
Copy link
Contributor Author

paglias commented May 31, 2017

Soo the problem isn't NPM5 but the newest release of Mongoose which introduced a sort of breaking change regarding the error message Automattic/mongoose#5146.

@SabreCat
Copy link
Member

This ran fine for me today, so maybe the Mongoose issue has been fixed? We'll see how the build behaves.

@SabreCat
Copy link
Member

Darn, no luck. Need to reproduce this locally, then, to get it fixed.

@TheHollidayInn
Copy link
Contributor

TheHollidayInn commented Jun 28, 2017

I believe we will have to update our tests/error strings to comply with the update.

@SabreCat
Copy link
Member

Yeah. That's what I'm trying to reproduce locally. The one time my integration tests ran, they threw no errors of this type, so I must not have the problematic Mongoose version.

@paglias
Copy link
Contributor Author

paglias commented Jun 28, 2017 via email

@SabreCat
Copy link
Member

Got that step done. Integration tests aren't running at all for me locally, though, so still got some figuring out to do. :sigh:

@paglias
Copy link
Contributor Author

paglias commented Jul 10, 2017

This should use npm 5.1.0 when merged

@SabreCat
Copy link
Member

This is still giving me trouble. If I update to npm@5, my integration tests time out connecting to Mongo. If I revert to npm@4, I can run integration tests just fine.

@paglias
Copy link
Contributor Author

paglias commented Jul 20, 2017

That's strange :/ I'm not sure how to help if you have already tried reinstalling the entire node_modules folder after the upgrade. What version of mongo do you have installed?

@SabreCat
Copy link
Member

MongoDB shell version v3.4.6

@paglias
Copy link
Contributor Author

paglias commented Jul 21, 2017 via email

@paglias
Copy link
Contributor Author

paglias commented Jul 23, 2017

@SabreCat what if we try another approach? Let's first update mongoose to the newest version and fix the tests with npm 4 and after that try to upgrade to npm 5 again

@SabreCat
Copy link
Member

Closing this as stale, but giving myself a To-Do to attempt the Mongoose upgrade you suggested.

@SabreCat SabreCat closed this Aug 15, 2017
@paglias
Copy link
Contributor Author

paglias commented Aug 20, 2017

@SabreCat okay, can you reopen when mongoose is upgraded?

@paglias paglias deleted the npm5 branch September 1, 2017 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants