-
Couldn't load subscription status.
- Fork 180
Description
Installation steps:
setup.batstart.bat- website tab opens but doesn't compile
- logs:
frontend.log:
"""
devdocs-explorer@0.1.0 dev
next dev
▲ Next.js 15.1.4
- Local: http://localhost:3001
- Network: http://192.168.1.4:3001
- Experiments (use with caution):
· webpackBuildWorker
· parallelServerCompiles
· parallelServerBuildTraces
✓ Starting...
⚠ Attempted to load @next/swc-win32-x64-msvc, but an error occurred: \?\C:\Users\Sanad\Dev\DevDocs\node_modules@next\swc-win32-x64-msvc\next-swc.win32-x64-msvc.node is not a valid Win32 application.
\?\C:\Users\Sanad\Dev\DevDocs\node_modules@next\swc-win32-x64-msvc\next-swc.win32-x64-msvc.node
⚠ Attempted to load @next/swc-wasm-nodejs, but it was not installed
⚠ Attempted to load @next/swc-wasm-web, but it was not installed
⨯ Failed to load SWC binary for win32/x64, see more info here: https://nextjs.org/docs/messages/failed-loading-swc
�[?25h
"""
backend.log:
"""
INFO: Will watch for changes in these directories: ['C:\Users\Sanad\Dev\DevDocs\backend']
INFO: Uvicorn running on http://0.0.0.0:24125 (Press CTRL+C to quit)
INFO: Started reloader process [49660] using StatReload
INFO: Started server process [42580]
INFO: Waiting for application startup.
INFO: Application startup complete.
"""
mcp.log:
"""
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:\Users\Sanad\Dev\DevDocs\fast-markdown-mcp\src\fast_markdown_mcp\server.py", line 590, in
asyncio.run(main())
~~~~~~~~~~~^^^^^^^^
File "C:\Python313\Lib\asyncio\runners.py", line 194, in run
return runner.run(main)
~~~~~~~~~~^^^^^^
File "C:\Python313\Lib\asyncio\runners.py", line 118, in run
return self.loop.run_until_complete(task)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "C:\Python313\Lib\asyncio\base_events.py", line 720, in run_until_complete
return future.result()
~~~~~~~~~~~~~^^
File "C:\Users\Sanad\Dev\DevDocs\fast-markdown-mcp\src\fast_markdown_mcp\server.py", line 572, in main
setup_logging()
~~~~~~~~~~~~~^^
File "C:\Users\Sanad\Dev\DevDocs\fast-markdown-mcp\src\fast_markdown_mcp\server.py", line 542, in setup_logging
file_handler = logging.FileHandler(str(log_path))
File "C:\Python313\Lib\logging_init.py", line 1218, in init
StreamHandler.init(self, self.open())
~~~~~~~~~~^^
File "C:\Python313\Lib\logging_init.py", line 1247, in _open
return open_func(self.baseFilename, self.mode,
encoding=self.encoding, errors=self.errors)
PermissionError: [Errno 13] Permission denied: 'C:\Users\Sanad\Dev\DevDocs\logs\mcp.log'
"""
Manual Fix:
npm install @next/swc-wasm-web @next/swc-wasm-nodejs- install Rust:
rustup-init.exe npm install next@latest react@latest react-dom@latestin elevatedstart.batagain after closing all shells, output:
"""
bunch of requirments that are marked as satisfied, then
[notice] A new release of pip is available: 24.3.1 -> 25.0.1
[notice] To update, run: python.exe -m pip install --upgrade pip
[36mStarting Next.js frontend...[0m
[36mStarting FastAPI backend...[0m
[36mStarting MCP server...[0m
[36mWaiting for services to start...[0m
[36mWaiting for "Frontend" to start...[0m
[32m"Frontend" is ready[0m
[36mWaiting for "Backend" to start...[0m
[32m"Backend" is ready[0m
[32mAll services are running[0m
[36mFrontend:[0m http://localhost:3001
[36mBackend:[0m http://localhost:24125
[36mLogs:[0m .\logs
[36mPress Ctrl+C to stop all services[0m
[36mPress any key to stop all services...[0m
"""
5. Checked all logs again, no changed even though many stuff were installed relating to their messages.
6. only 1 message not addressed in manual solution: mcp.log, and that is becuase i checked the properties of the file mcp.log and i did have permessions:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:\Users\Sanad\Dev\DevDocs\fast-markdown-mcp\src\fast_markdown_mcp\server.py", line 590, in
asyncio.run(main())
~~~~~~~~~~~^^^^^^^^
File "C:\Python313\Lib\asyncio\runners.py", line 194, in run
return runner.run(main)
~~~~~~~~~~^^^^^^
File "C:\Python313\Lib\asyncio\runners.py", line 118, in run
return self.loop.run_until_complete(task)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "C:\Python313\Lib\asyncio\base_events.py", line 720, in run_until_complete
return future.result()
~~~~~~~~~~~~~^^
File "C:\Users\Sanad\Dev\DevDocs\fast-markdown-mcp\src\fast_markdown_mcp\server.py", line 572, in main
setup_logging()
~~~~~~~~~~~~~^^
File "C:\Users\Sanad\Dev\DevDocs\fast-markdown-mcp\src\fast_markdown_mcp\server.py", line 542, in setup_logging
file_handler = logging.FileHandler(str(log_path))
File "C:\Python313\Lib\logging_init.py", line 1218, in init
StreamHandler.init(self, self.open())
~~~~~~~~~~^^
File "C:\Python313\Lib\logging_init.py", line 1247, in _open
return open_func(self.baseFilename, self.mode,
encoding=self.encoding, errors=self.errors)
PermissionError: [Errno 13] Permission denied: 'C:\Users\Sanad\Dev\DevDocs\logs\mcp.log'
"""
Machine:
Windows 11
plenty of RAM and storage
hope this is good for debugging