coder
asked on
Installation error for npm install canvas
Hi Experts,
I had tried installing Canvas with NPM. Installation is not succeeding. I get the following error
c:\...\node_modules\canvas \src\Canva s.h(19): fatal error C1083: Cannot open include file: 'cairo.h': No such file or directory (compiling source file ..\src\CanvasGradient.cc)
[C:\...\pdf-optimise\node_ modules\ca nvas\build \canvas.vc xproj]
I had followed the steps mention at this url https://github.com/benjamind/delarre.docpad/blob/master/src/documents/posts/installing-node-canvas-for-windows.html.md
Please help me in resolving this. issue
With Many Thanks,
Bharath AK
I had tried installing Canvas with NPM. Installation is not succeeding. I get the following error
c:\...\node_modules\canvas
[C:\...\pdf-optimise\node_
I had followed the steps mention at this url https://github.com/benjamind/delarre.docpad/blob/master/src/documents/posts/installing-node-canvas-for-windows.html.md
Please help me in resolving this. issue
With Many Thanks,
Bharath AK
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi All,
I changed the working(development) environment to linux and there are many issues with node-canvas. Hence closing this problem
With Many thanks,
Bharath AK
I changed the working(development) environment to linux and there are many issues with node-canvas. Hence closing this problem
With Many thanks,
Bharath AK
ASKER
Now I am trying manually,
But get linker errors like this,
Canvas.obj : error LNK2001: unresolved external symbol png_destroy_write_struct [C:\Users\ripia\AppData\Ro
e_modules\canvas\build\can
Please help me in resolving this.
Many thanks,
Bharath AK