Skip to content
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

Request/Mime packages and use strict? #8

Closed
scripting opened this issue Sep 26, 2017 · 1 comment
Closed

Request/Mime packages and use strict? #8

scripting opened this issue Sep 26, 2017 · 1 comment

Comments

@scripting
Copy link
Owner

@scripting scripting commented Sep 26, 2017

I was adding some new features to PagePark, and stirred up a hornets nest of problems with versions of the request and mime packages.

I had already updated PagePark to work with a breaking change in the mime package.

Which forced me to do an npm update on PP running on one of my servers.

Which resulted in PagePark failing to run.

I got a message about a package named hoex that was somehow invoking strict mode but using a const and this wasn't supported by the version of Node I was running. So I did my best to update Node, and it still didn't run. Did a search (should have done it sooner) and found this bit.

sass/node-sass#2100

Okay so I hard-coded the version of request at 2.81.0, but now I'm getting the same error in mime.

image

Meanwhile the server is down, and if a user encounters this problem I have no idea what advice to give them.

How do I get my PagePark running again?? Help! ;-)

@scripting

This comment has been minimized.

Copy link
Owner Author

@scripting scripting commented Sep 26, 2017

Problem solved. Did a fresh install of Node.

https://nodesource.com/blog/installing-node-js-tutorial-ubuntu/

@scripting scripting closed this Sep 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.