docsifyjs / docsify-ssr-demo Goto Github PK
View Code? Open in Web Editor NEWNOTICE: This repo is outdated and SSR is work-in-progress.
NOTICE: This repo is outdated and SSR is work-in-progress.
1、当我配置basePath为当前目录路径时无法加载到README.md文件内容。_coverpage.md是ok的。很奇怪(必须要渲染其他域名下的文档吗?);
2、停掉服务时,应该是进程没有完全关闭。再一次启动服务会报错。重启或者找到相关进程关闭后,才可重启服务。
Hi,
I run 'npm i, npm start' and got the error :
TypeError: Cannot read property 'indexOf' of undefined
at AbstractHistory.parse (D:\docsify-ssr-demo-master (1)\docsify-ssr-demo-master\node_modules\docsify-server-renderer\build.js:266:27)
at Compiler.compile (D:\docsify-ssr-demo-master (1)\docsify-ssr-demo-master\node_modules\docsify-server-renderer\build.js:771:37)
at Renderer. (D:\docsify-ssr-demo-master (1)\docsify-ssr-demo-master\node_modules\docsify-server-renderer\build.js:1270:28)
at Generator.next ()
at c (D:\docsify-ssr-demo-master (1)\docsify-ssr-demo-master\node_modules\docsify-server-renderer\build.js:15:99)
at processTicksAndRejections (internal/process/task_queues.js:94:5)
Could you help me to deal with it?
Thanks
Docsify cli version: 4.1.7
now -p
produces command not found
response. MacOS.
npm start
works.
It seems that the Content-Type
header is absent.
http --headers https://docsify.now.sh/
HTTP/1.1 200 OK
Accept-Ranges: bytes
Connection: keep-alive
Content-Length: 6768
Date: Fri, 22 Nov 2019 15:56:55 GMT
X-Now-Instance: 1225455044
cache-control: s-maxage=0
server: now
strict-transport-security: max-age=63072000
x-now-id: tpe1:gxhtn-1574438215153-518509923d3f
x-now-trace: tpe1,sfo1
This causes w3m to display the plain HTML source without rendering it.
thsi code is not be run
This site https://docsify.now.sh/ is offline
It this being discontinued? Or moved to vercel.app with the now.sh rebrand?
It is still showing up in search engine results. I'd prefer to for docsify.js.org pages to come up than this offline site.
And presumably linked from Docsify docs.
启动项目后续显示正常,访问http://localhost:4000后,控制台就报错。
D:\workspace\ssrDemo>npm start
[email protected] start D:\workspace\ssrDemo
docsify start . -c ssr.config.js
[SSR] Serving . now.
Listening at http://localhost:4000
TypeError: Cannot read property 'indexOf' of undefined
at AbstractHistory.parse (D:\workspace\ssrDemo\node_modules\docsify-server-renderer\build.js:267:27)
at Compiler.compile (D:\workspace\ssrDemo\node_modules\docsify-server-renderer\build.js:813:37)
at Renderer. (D:\workspace\ssrDemo\node_modules\docsify-server-renderer\build.js:1384:28)
at Generator.next ()
at c (D:\workspace\ssrDemo\node_modules\docsify-server-renderer\build.js:16:99)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
this code is not be run
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.