Skip to main content

Hi experts!

i wrote my plugin with vscode and now i wanna run plugin but received this message. 👇

i also click => tsc:watch - tsconfig.json

plz help me.


this my tsconfig.json file 👇


{
"compilerOptions": {
"target": "es6",
"lib": ["es6"],
"typeRoots": [
"./node_modules/@types",
"./node_modules/@figma"
]
}
}


iam really confused

Did you follow the instructions in the README.md that is in your plugin folder?

Figma Help Center

yes i did all of note


It looks like you didn’t do something.


Have you compiled TypeScript to JavaScript?

Compilation successful?

Are the compiled code.js and ui.html files located in the path specified in manifest.json?


oh tnx

i didnt compiled my code


Reply