What are you trying to do? (please be as specific as possible and include relevant screenshots, code snippets)
I am trying to self host plasmic in my virtual machine (Ubuntu OS) . To do so, I am referring the plasmic documentation plasmic/docs/contributing/platform/00-getting-started.md at master · plasmicapp/plasmic.
I am able to build the plasmic code using the command “yarn bootstrap”. All 76 applications built successfully.
Then I ran the next command to deploy plasmic app. “yarn dev”. On running this command, I see logs saying that appstudio is running in http://localhost:3004. Also, other logs saying that the app can be accessed via its publicUrl: http://localhost:3003. At the of last statement of log message, I got an error message reported in “webpack-dev-middleware” as,
[frontend] [webpack-dev-middleware] [Error: an error occurred when formatting an argument] {
[frontend] code: ‘GenericFailure’
[frontend] }
My expectation is to open plasmic studio portal from browser. When I try to hit http://localhost:3004, it shows bank screen.
When I try to hit http://localhost:3003 from browser, page keeps on loading and no response received. When I test the same url via wget command, I get the below message.
~$ wget http://localhost:3003
--2025-02-20 11:24:15-- http://localhost:3003/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:3003... connected.
*HTTP request sent, awaiting response...*
I suspect the error in webpack-dev-middleware module blocks me in accessing the portal.
As we need this installation to happen at the earliest, I need your guidance on fixing this error and then to successfully access the plasmic portal .
As an additional info,
-
I have successfully setup postgresql by running this command. ```
yarn db:setup -
I have installed node of version 22
I have attached the logs for your reference.
What are the reproduction steps?
- Run “yarn bootstrap”
- run “yarn dev”
Try to access the url from browser. ( I am using VM’s public ip to access from browser. So, url will looks like, http://xx.xx.xx.xx:3003)
http://localhost:3003
http://localhost:3004
Relevant links:
NA