Comments (14)
Hi, thanks for reporting this issue. Let me try to figure out how it can be fixed.
from open-source-saas-boilerpate.
@mandrews can you please look at this issue? Thanks!
from open-source-saas-boilerpate.
@saasforge any idea how to fix this? Trying to use docker compose currently but stuck here
from open-source-saas-boilerpate.
@ericvanular Can you please describe step-by-step your problem? Thanks!
from open-source-saas-boilerpate.
@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.
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.
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.
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.
@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.
No worries, I can make a PR in a bit
from open-source-saas-boilerpate.
Cool, thanks!
from open-source-saas-boilerpate.
Hi there,
The suggested change doesn't appear in the code. Is it normal?
from open-source-saas-boilerpate.
No, it's not normal, it's just never been changed. Please feel free to create PR.
from open-source-saas-boilerpate.
Fixed in 87d7955
Please try and let us know if there is still an issue.
from open-source-saas-boilerpate.
Related Issues (13)
- Docker? HOT 2
- Can't find where is jQuery used HOT 2
- Email with AWS SES throws "Invalid Mail From address" error HOT 1
- Docker-compose with mounted repo not working properly HOT 1
- [Feature Request] Extending Features HOT 1
- [Feature Request] Teams/Companies and RBAC HOT 4
- some static file missing HOT 1
- Suggestions for incorporating one-time payments and subscriptions? HOT 4
- Wrong jsonpath imported in src/app/dashboard/DashboardShell.jsx HOT 1
- flask dbcreate fails HOT 2
- requirements.txt should not be frozen, instead add a frozen requirements.txt HOT 3
- Generating swagger API docs ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-source-saas-boilerpate.