figma-plugin icon indicating copy to clipboard operation
figma-plugin copied to clipboard

Missing dependency in package.json

Open r1m opened this issue 4 months ago • 1 comments

Hello I checked out the project and run the following commands

pnpm install
pnpm build

but webpack fails with missing types

ERROR in /home/sylvain/projects/ds/figma-plugin/src/app/CodePreviewView/index.tsx(13,14) TS2580: Cannot find name 'require'. Do you need to install type definitions for node? Try npm i --save-dev @types/node.

After a pnpm add -D @types/node command. It seemed to build.

Side question : why there are no more build.zip in releases ?

r1m avatar Oct 01 '24 14:10 r1m