Skip to content

Error on first build EONENT on completely unchanged fresh install #164

@tom2strobl

Description

@tom2strobl

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions