Giter Club home page Giter Club logo

Comments (7)

alinGmail avatar alinGmail commented on August 18, 2024

Can you provide more information? For example how to reproduce this problem

from livemock.

alinGmail avatar alinGmail commented on August 18, 2024

try to build the core sub project first, cd to the core folder, run 'yarn run tsc'

from livemock.

CaptainJon avatar CaptainJon commented on August 18, 2024

try to build the core sub project first, cd to the core folder, run 'yarn run tsc'

yeah, it works now, then how to start the electron? i tried cd to the desktop fold and run " yarn start" or "yarn dev", the electron app shows but nothing on it. it is blank. can you show the step?
image

from livemock.

alinGmail avatar alinGmail commented on August 18, 2024

you need to build the project first, in the desktop folder, run 'yarn run tsc' , then 'yarn run vite' and then 'yarn run electron'.

from livemock.

CaptainJon avatar CaptainJon commented on August 18, 2024

you need to build the project first, in the desktop folder, run 'yarn run tsc' , then 'yarn run vite' and then 'yarn run electron'.

nice, it's working now, i guess if i want to build the electron, just run "yarn run build"?

from livemock.

CaptainJon avatar CaptainJon commented on August 18, 2024

you need to build the project first, in the desktop folder, run 'yarn run tsc' , then 'yarn run vite' and then 'yarn run electron'.

when I try "yarn run electron", the apps shows and works well (add exceptations works, modify expectations works, modify project info works), but the command shows errors below:

image

when I tried to start the server, error pops out:
image

and the commands adds some warnning or error i dunno:
image

from livemock.

alinGmail avatar alinGmail commented on August 18, 2024

i have no idea about the ssl error. but it look like have nothing to do with the server start fail.
you can change the projectHandler.js code in dist-electron folder. in line 137. it may be look like the code above

server.once("error", (error) => { // res.status(500); throw new common_1.ServerError(500, "server start fail"); });
add some code to log the error to see what happen.

from livemock.

Related Issues (6)

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.