GithubHelp home page GithubHelp logo

Comments (5)

avibiton13 avatar avibiton13 commented on August 27, 2024 1

@justintaylor-dev updating the vite cep plugin by running yarn add vite-cep-plugin resolved the issue!
A symlink is now created successfully when running yarn build on a Windows machine as well!
Thank you very much 🙏

from bolt-cep.

justintaylor-dev avatar justintaylor-dev commented on August 27, 2024

Is this on a new Bolt install? Is your user an Admin? Perhaps try updating the plugin yarn add vite-cep-plugin

from bolt-cep.

justintaylor-dev avatar justintaylor-dev commented on August 27, 2024

Haven't had any other Windows users report this issue. If it comes up again feel free to re-open and provide additional details.

from bolt-cep.

justintaylor-dev avatar justintaylor-dev commented on August 27, 2024

awesome!

from bolt-cep.

Jalan-Ember-SN avatar Jalan-Ember-SN commented on August 27, 2024

Hi! I was having this issue and tried running yarn add vite-cep-plugin and then yarn build again. However it failed with the following error:

failed to load config from C:\[...]\vite.config.ts
error during build:
TypeError: Cannot destructure property 'iife' of 'undefined' as it is undefined.
    at jsxInclude (C:\[project folder]\node_modules\vite-cep-plugin\lib\index.js:338:23)
    at extendscriptConfig (C:\[project folder]\vite.config.ts:142:45)   
    at Object.<anonymous> (C:\[project folder]\vite.config.ts:233:1)    
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at require.extensions.<computed> [as .ts] (C:\[project folder]\node_modules\vite\dist\node\chunks\dep-6e2fe41e.js:62006:20)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at loadConfigFromBundledFile (C:\[project folder]\node_modules\vite\dist\node\chunks\dep-6e2fe41e.js:62014:17)
error Command failed with exit code 1.

I thought perhaps some other packages could be out of date so tried running yarn upgrade but that didn't seem to help.
I am not sure what to make of this. Any thoughts appreciated!

from bolt-cep.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.