Hi I have published my design library to Figma Make’s private NPM repo as is described here https://developers.figma.com/docs/code/bring-your-design-system-package/. I am able to create the project, install my library, and add all my guidelines files to the Draft and produce really cool stuff with my design system. Editors on my team are able to click “Use in new file” and it works great for them as well. However, once I publish a template for the whole org to use (that includes my installed library and guidelines (several files)), using the “Start from an example” chip creates a new Make project that is broken. The guidelines are all gone and the package no longer installed, and it gives an error about missing Make files like follows:
❌ [vite] Internal Server Error Failed to resolve import "./styles/index.css" from "__figma__entrypoint__.ts". Does the file exist? at TransformPluginContext._formatLog (node_modules/.pnpm/vite@6.3.5_jiti@2.6.0_lightningcss@1.30.1/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:42499:41) at TransformPluginContext.error (node_modules/.pnpm/vite@6.3.5_jiti@2.6.0_lightningcss@1.30.1/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:42496:16) at normalizeUrl (node_modules/.pnpm/vite@6.3.5_jiti@2.6.0_lightningcss@1.30.1/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:40475:23) at processTicksAndRejections (node:internal/process/task_queues:105:5) at node_modules/.pnpm/vite@6.3.5_jiti@2.6.0_lightningcss@1.30.1/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:40594:37 at async Promise.all (index 1) at TransformPluginContext.transform (node_modules/.pnpm/vite@6.3.5_jiti@2.6.0_lightningcss@1.30.1/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:40521:7) at EnvironmentPluginContainer.transform (node_modules/.pnpm/vite@6.3.5_jiti@2.6.0_lightningcss@1.30.1/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:42294:18) at loadAndTransform (node_modules/.pnpm/vite@6.3.5_jiti@2.6.0_lightningcss@1.30.1/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:35735:27) at viteTransformMiddleware (node_modules/.pnpm/vite@6.3.5_jiti@2.6.0_lightningcss@1.30.1/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:37250:24)
Anyone running into this?
