Closed arcanaxion closed 1 year ago
Hi @arcanaxion,
Since you are installing taipy-gui directly from the develop branch, you will need Node.js to be able to properly install the package. Make sure that your machine has node.js installed and you will be fine. You can have a look at this Dockerfile
FROM python:3.10.11-bullseye
# Setup Node.js 18
RUN apt-get update
RUN apt-get install curl
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash
RUN apt-get install nodejs
# installing taipy gui from develop branch
RUN pip install "git+https://git@github.com/avaiga/taipy-gui"
COPY main.py .
CMD [ "python" , "main.py"]
Let me know if this resolve your issue.
Hi @dinhlongviolin1 , thanks for your reply.
I did recall you mentioning previously about needing node.js to install from the develop branch, so I did in fact previously ensure that I had some version of node.js installed on all my WSL instances and Docker images that I tested on when I opened this issue. I can also confirm that as of 3 days ago, I reattempted installing the package -- and they work.
I'm not sure what the difference was between then and now, but feel free to close the issue. If it happens again, I'll try to provide more details.
Also, I wonder if it's reasonable to generate some error message when installing the dev version of taipy-gui without node.js so that people that overlooked INSTALLATION.md may be hinted towards the issue.
Description Installing the current develop branch of taipy-gui, starting a simple application then opening the webpage shows:
Terminal shows
jinja2.exceptions.TemplateNotFound: index.html
(full traceback below).How to reproduce
Current taipy-gui commit: 58a25ca61056f1b73f158329bf8a068af063ef75
Expected behavior Hello world should display on page as normal.
Traceback:
Runtime environment