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

Node Server crashes error on build #1884

Closed
anandanguru opened this issue Sep 24, 2019 · 6 comments
Closed

Node Server crashes error on build #1884

anandanguru opened this issue Sep 24, 2019 · 6 comments
Labels

Comments

@anandanguru
Copy link

i am getiing error after docker build provided by the given steps which are posted yesterday..

I am getting this error while uploading the document on particular path
node: symbol lookup error: /node_modules/sharp/build/Release/sharp.node: undefined symbol: _ZN4vips6VImage15new_from_bufferEPKvmPKcPNS_7VOptionE

@lovell
Copy link
Owner

lovell commented Sep 24, 2019

What is the output of running npx envinfo --binaries --languages --system --utilities?

What are the steps to reproduce?

@lovell lovell added question and removed triage labels Sep 24, 2019
@lovell
Copy link
Owner

lovell commented Sep 24, 2019

If you didn't see it, there's an issue template relating to install-time problems that asks these and other similar questions that will help you help me help others.

https://github.com/lovell/sharp/issues/new?assignees=&labels=installation&template=installation.md

@timothyallan
Copy link

timothyallan commented Sep 24, 2019

I got this as well after the installation debacle yesterday with #1882
I had to addlibvips-dev to the node server build, as well as lock down minipass to "minipass": "2.7.0", in package.json as described in that issue.
Sharp appeared to install fine, but would crash with that error when used without the minipass step.

@lovell
Copy link
Owner

lovell commented Sep 24, 2019

If you've not done so already, please undo/revert any changes made as a result of the various suggestions from the now-closed #1882.

@lovell lovell closed this as completed Oct 8, 2019
@eshton
Copy link

eshton commented Jan 13, 2020

Hey @lovell , I have this exact same issue. I already checked:

  • node is running 12.13.1
  • minimass is 2.8.5

I still have this error, only in Heroku, works fine on my local machine (Mac).

Thanks for help.

@lovell
Copy link
Owner

lovell commented Jan 13, 2020

@eshton If you still require help, please open a new installation issue and answer all of the questions. https://github.com/lovell/sharp/issues/new?assignees=&labels=installation&template=installation.md&title=

Repository owner locked and limited conversation to collaborators Jan 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants