GithubHelp home page GithubHelp logo

Comments (14)

saasforge avatar saasforge commented on September 26, 2024

Hi, thanks for reporting this issue. Let me try to figure out how it can be fixed.

from open-source-saas-boilerpate.

saasforge avatar saasforge commented on September 26, 2024

@mandrews can you please look at this issue? Thanks!

from open-source-saas-boilerpate.

ericvanular avatar ericvanular commented on September 26, 2024

@saasforge any idea how to fix this? Trying to use docker compose currently but stuck here

from open-source-saas-boilerpate.

saasforge avatar saasforge commented on September 26, 2024

@ericvanular Can you please describe step-by-step your problem? Thanks!

from open-source-saas-boilerpate.

ericvanular avatar ericvanular commented on September 26, 2024

@saasforge same issue as @ronreiter

I run docker-compose up and it throws an error with --> Error: Cannot find module '/app/webpack.dev.js'

from open-source-saas-boilerpate.

saasforge avatar saasforge commented on September 26, 2024

I'm not very familiar with docker but I think it's because there is no such folder app. What is /app folder at all? If it's a root one, where do you define it? If it's defined by default, you probably should change it to just /
Can you please try?
P.S. webpack.dev.js can be found the root directory so probably for some reason docker looks it in non-existing folder app.
P.S.2. Okay, I see the dockerfile has the following lines:

WORKDIR /app
COPY . /app

I think if your workdir is not app, it shouldn't work?

from open-source-saas-boilerpate.

ericvanular avatar ericvanular commented on September 26, 2024

Thanks @saasforge, I'm not super familiar with Docker either but the error is in Step 7/10: (RUN npm install --global npm && npm update && npm install && npm run dev)

I'll try to change the workdir name and report back

from open-source-saas-boilerpate.

ericvanular avatar ericvanular commented on September 26, 2024

Was able to get the Docker image to build by switching the order of Step 7 and 8

COPY . /app

should be before

RUN npm install --global npm &&
npm update &&
npm install &&
npm run dev

from open-source-saas-boilerpate.

saasforge avatar saasforge commented on September 26, 2024

@ericvanular Thanks a lot! Do you want to make update to the dockfile or you want me to do that?

from open-source-saas-boilerpate.

ericvanular avatar ericvanular commented on September 26, 2024

No worries, I can make a PR in a bit

from open-source-saas-boilerpate.

saasforge avatar saasforge commented on September 26, 2024

Cool, thanks!

from open-source-saas-boilerpate.

azziz-errime avatar azziz-errime commented on September 26, 2024

Hi there,

The suggested change doesn't appear in the code. Is it normal?

from open-source-saas-boilerpate.

saasforge avatar saasforge commented on September 26, 2024

No, it's not normal, it's just never been changed. Please feel free to create PR.

from open-source-saas-boilerpate.

saasforge avatar saasforge commented on September 26, 2024

Fixed in 87d7955
Please try and let us know if there is still an issue.

from open-source-saas-boilerpate.

Related Issues (13)

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.