I heard someone had an issues with this on webinar (might be same issue) so thought I would share to save time for others
- Followed process as on here: https://www.npmjs.com/package/@interopio/iocd-cli
- Say you want to customise the launchpad as an option
- Try and build and you will be hit with this issue
Issue on build:
[commonjs–resolver] Transform failed with 2 errors:
(define name):1:24: ERROR: Expected “.” but found “(”
(define name):1:30: ERROR: Expected “.” but found “(”
In vite.config.ts in launchpad folder remove usages of ‘EnvironmentPlugin’
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
export default defineConfig({
server: {
port: 5178,
host: "localhost",
},
base: "./",
plugins: [react()],
});
Try and build and everything should work now ![]()
Node used: v24.11.1