Comments (4)
I am getting the same error while submitting the document. I have followed the "Frontend Only" approach for installation.
from opensign.
Hello @maoo
I know the reason for this issue is due to missing build files.
You need to build the package in microfrontends.
Command to do this:
cd microfrontends/SignDocuments && npm install && npm run build
You should get the public files ready in /microfrontends/SignDocuments/public
Note: In case public files are created and move command fails then you should manually copy files from /microfrontends/SignDocuments/public
to /apps/OpenSign/public/mfbuild
Note: You also need to delete the old docker images and container so it rebuilds with mfbuild files
Assign this issue to me I will try to make this included in docker build scripts.
from opensign.
Thank you @rishabjasrotia !
I got it working following your instructions; just a couple of notes:
- the
apps/OpenSign/public/mfbuild
folder already exists, so themv
/cp
commands would fail - the
npm run build
command inmicrofrontends/SignDocuments
already moves themfbuild
folder across
For reference, this is the list of actions that leads to a successful (docker) local run:
rm -rf apps/OpenSign/public/mfbuild
cd microfrontends/SignDocuments && npm install && npm run build
docker compose up -d
I'd be happy to work on the fix, though I'm not sure what's the best practice for packaging microfrontends into Docker images.
As you may know, Dockerfiles have issues accessing files that are not located under its folder; moving the microfrontends
folder under apps/OpenSign
(or moving apps/OpenSign/Dockerfile
in the root folder, maybe calling it Dockerfile.app
) would solve the issue, but it may not be the best approach.
from opensign.
We can close this issue PR merged
#162
from opensign.
Related Issues (20)
- [Bug]: amolshejole-opensign failed to deploy HOT 3
- [Bug]: Installation o Docker Desktop HOT 3
- [Question]: API on hosted version? HOT 1
- [Bug]: 404 Error - One Click Digital Ocean Install HOT 2
- Unable install using mongo db without avx HOT 1
- Upgrade to v1.4.2 failed HOT 6
- [Bug]: Get Template endpoint error on Digital Ocean 1-click install HOT 1
- [Bug]: Local instance is trying to access S3 bucket with USE_LOCAL=TRUE HOT 5
- [Bug]: Error: Something went wrong HOT 4
- [Bug]: Local Docker Install Ubuntu 22.04 LTS HOT 3
- [Bug]: issue on installing docker linux HOT 2
- [Bug]: createTransport was not imported
- [Bug]: Guest Url Error https:%2F%2Fwww.api-opensign.honey-digital.fr%2Fapp%2F&opensign&contracts HOT 1
- Feature Request: [Allow use of Cloudflare Tunnels & Access on OpenSign server] HOT 1
- [Bug]: issue after installing XMLHttpRequest failed: "SyntaxError: Unexpected token < in JSON at position 0" when i click up register HOT 5
- Feature Request: [Short Description] HOT 1
- [Bug]: I can't change my email HOT 2
- [Bug]: SMTP HOT 7
- Feature Request: Please provide an official Docker image on the Docker Hub HOT 3
- Change Zoom level when editing PDF 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 opensign.