Giter VIP home page Giter VIP logo

Comments (4)

ArcherGu avatar ArcherGu commented on May 29, 2024 1

Solution: clone node-canvas and switch to right version, then build it on the device with apple arm chip. Put the build result in the corresponding path of the apitable repo: node_modules/.pnpm/[email protected]/node_modules/canvas

from apitable.

zhangxinmiao-study avatar zhangxinmiao-study commented on May 29, 2024 1

how to build?

from apitable.

ArcherGu avatar ArcherGu commented on May 29, 2024 1

how to build?

you can see here: compiling node-canvas

from apitable.

wyyl1 avatar wyyl1 commented on May 29, 2024

solution

Download the source code for node-canvas v2.9.2

unzip node-canvas-2.9.1.zip

cd node-canvas-2.9.1

npm install canvas@2.9.1

# Remove the canvas directory from the apitable project
rm -rf apitable/node_modules/.pnpm/canvas@2.9.1/node_modules/canvas

# Copy the canvas folder to the a directory in the apitable project
cp -R node_modules/canvas apitable/node_modules/.pnpm/canvas@2.9.1/node_modules/

reference document Installing node-canvas

from apitable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.