Open burns-brian opened 1 month ago
Sorry, I pasted my previous comment in the wrong issue. So I have tested your reproduction steps and everything works fine for me. The only thing I see is that you're on a Mac. Also, this issue seems to be happening inside svelte. Unfortunately, it will be difficult for me to investigate since I don't own a Mac.
If you have some time on your hands, you could try figuring out what happens by playing inside /private/var/folders/cx/0lwng48n405dwjlp4694b5bc0000gn/T/carbon-multi-page@6.0.0
(the svelte template). Otherwise, I'm afraid this will remain blocked for now.
Thanks for your help. I apologize, I meant to show you the contents of that folder.
drwxr-xr-x@ Aug 1 09:35 .
drwx------@ Aug 1 12:08 ..
-rw-r--r--@ Aug 1 09:33 .gitignore
-rw-r--r--@ Aug 1 09:33 .npmrc
drwxr-xr-x@ Aug 1 09:33 .svelte-kit
drwxr-xr-x@ Aug 1 09:33 .vscode
-rw-r--r--@ Aug 1 09:33 README.md
-rw-r--r--@ Aug 1 09:33 magidoc.config.js
drwxr-xr-x@ Aug 1 09:33 node_modules
-rw-r--r--@ Aug 1 09:46 package-lock.json
-rw-r--r--@ Aug 1 09:33 package.json
drwxr-xr-x@ Aug 1 09:33 src
drwxr-xr-x@ Aug 1 09:46 static
-rw-r--r--@ Aug 1 09:33 svelte.config.js
-rw-r--r--@ Aug 1 09:33 tsconfig.json
-rw-r--r--@ Aug 1 09:33 vite.config.ts
I am also attaching a copy of the carbon-multi-page@6.0.0
directory. Please note that I have removed the contents of the node_modules
directory in the zip file for space.
TLDR: Basically, it's looking for a localhost
folder in carbon-multi-page@6.0.0/localhost
that isn't there.
Describe the bug
When running
magidoc dev
for any project, including the defaultspacex
example, the following error occurs:Error: ENOENT: no such file or directory, realpath '/private/var/folders/cx/0lwng48n405dwjlp4694b5bc0000gn/T/carbon-multi-page@6.0.0/localhost'
. The log saysServer listening on http://localhost:3000
, but browsers result in a "can't connect to server" error.Reproduction
Download a copy of magidoc at v6.0.0. Although, I have also experienced this in v4.2.1. Navigate to the spacex example (i.e.
cd ~/Downloads/magidoc-main/packages/examples/spacex
. Then, runnpm i -g @magidoc/cli@6.0.0
. Finally, runmagidoc dev
.Logs
System Info
Severity
Serious, but I can work around it