Giter Site home page Giter Site logo

Comments (8)

Gorniv avatar Gorniv commented on May 7, 2024

Hello. Is it master branch? Try a reinstall and rebuild the app.
What npm command do you use?

from universal-starter.

hesampour avatar hesampour commented on May 7, 2024

Hello. I have done rebuilding the app.
npm run build:universal
I think the problem is with the server.ts

from universal-starter.

Gorniv avatar Gorniv commented on May 7, 2024

try npm run ssr
How do you run server?

from universal-starter.

hesampour avatar hesampour commented on May 7, 2024

still problem exist. I think the problem is with the server.ts file. because when I open the ./dist-sever/main...
there is
function(n,l){n.exports=require(".")}

this is the source of the error.

from universal-starter.

splincode avatar splincode commented on May 7, 2024

@hesampour Can you provide more detailed inspection?

from universal-starter.

hesampour avatar hesampour commented on May 7, 2024

the problem is with one of the modules but I don't know which module has problem. I removed one part of my project from universal and compile that part separately. But I don't know what is the problem. If I could make the whole project universal I would do that. But for know because of the above error I cant

from universal-starter.

roydekleijn avatar roydekleijn commented on May 7, 2024

is it resolved? and how?

from universal-starter.

ohabash avatar ohabash commented on May 7, 2024

I think this means that main.js is dependent on a file that is not built yet. If running it twice in a row (without deleting dist) then its a good sign that is the problem... Im currently trying to solve this but open to ideas. I think requires instead of imports may be the problem.

from universal-starter.

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.