bolt-cep icon indicating copy to clipboard operation
bolt-cep copied to clipboard

Error on first build EONENT on completely unchanged fresh install

Open tom2strobl opened this issue 2 months ago • 1 comments

I just ran npx create-bolt-cep with only react and indesign selected in a subdir bolt-cep-test, followed by cd bolt-cep-test followed by a safety npm install followed by a npm run build (which you said should be done before npm run dev).

I did not change any file at all, just the fresh install.

Immediately running into:

npm run build
CEP Panels Served at:

error during build:
Error: ENOENT: no such file or directory, open '/Users/<myusername>/dev/bolt-cep-test/dist/cep/main/index.html'
    at Object.writeFileSync (node:fs:2426:20)
    at /Users/<myusername>/dev/bolt-cep-test/node_modules/vite-cep-plugin/lib/index.js:229:24
    at Array.map (<anonymous>)
    at configResolved (/Users/<myusername>/dev/bolt-cep-test/node_modules/vite-cep-plugin/lib/index.js:218:63)
    at file:///Users/<myusername>/dev/bolt-cep-test/node_modules/vite/dist/node/chunks/dep-D4NMHUTW.js:49121:67
    at Array.map (<anonymous>)
    at resolveConfig (file:///Users/<myusername>/dev/bolt-cep-test/node_modules/vite/dist/node/chunks/dep-D4NMHUTW.js:49121:53)
    at async createBuilder (file:///Users/<myusername>/dev/bolt-cep-test/node_modules/vite/dist/node/chunks/dep-D4NMHUTW.js:46736:18)
    at async CAC.<anonymous> (file:///Users/<myusername>/dev/bolt-cep-test/node_modules/vite/dist/node/cli.js:862:23)

node version: v22.14.0 M1 Mac on macOS Tahoe 26.0.1 (25A362) I have the ExtendScript Debugger installed and working (in a different project, although https://www.npmjs.com/package/jsxbin works fine for me there as well)

tom2strobl avatar Nov 25 '25 10:11 tom2strobl