Comments (10)
i managed to fix this issue by downgrading to node 7 and npm 4
from markserv.
try
npm install npm -g
then do
npm install -g markserv
from markserv.
@dwieeb I'm trying to follow your workaround but I get the same error. This is what I do and I'm no expert with node.
In C:\Users\asarafian\Building MarkServ
I've downloaded
- https://github.com/LearnBoost/websocket.io/archive/5f0b3799f50944bc4d1eb58acdef61c38883d6cf.zip
- https://github.com/F1LT3R/markserv/archive/master.zip
Then extracted respectively to their own directory with the module name and made sure the root of the contents are within each folder.
- C:\Users\asarafian\Building MarkServ\websocket.io
- C:\Users\asarafian\Building MarkServ\markserv
From inside C:\Users\asarafian\Building MarkServ\websocket.io
I executed:
npm install
npm link
From inside C:\Users\asarafian\Building MarkServ\markserv
I executed:
npm link websocket.io
that verifies with
C:\Users\asarafian\Building MarkServ\markserv\node_modules\websocket.io -> C:\Users\asarafian\AppData\Roaming\npm\node_modules\websocket.io -> C:\Users\asarafian\Building MarkServ\websocket.io
npm install
which fails with the same error
908 silly resolveWithNewModule [email protected] checking installable status
909 silly fetchPackageMetaData error for websocket.io@git://github.com/LearnBoost/websocket.io.git#5f0b3799f50944bc4d1eb58acdef61c38883d6cf Command failed: C:\Program Files\Git\cmd\git.EXE checkout 5f0b3799f50944bc4d1eb58acdef61c38883d6cf
909 silly fetchPackageMetaData fatal: reference is not a tree: 5f0b3799f50944bc4d1eb58acdef61c38883d6cf
910 verbose stack Error: Command failed: C:\Program Files\Git\cmd\git.EXE checkout 5f0b3799f50944bc4d1eb58acdef61c38883d6cf
910 verbose stack fatal: reference is not a tree: 5f0b3799f50944bc4d1eb58acdef61c38883d6cf
910 verbose stack
910 verbose stack at ChildProcess.exithandler (child_process.js:270:12)
910 verbose stack at emitTwo (events.js:125:13)
910 verbose stack at ChildProcess.emit (events.js:213:7)
910 verbose stack at maybeClose (internal/child_process.js:927:16)
910 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
From the top of the log file the node and npm versions are:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install' ]
2 info using [email protected]
3 info using [email protected]
Unfortunately I can't downgrade to previous versions.
from markserv.
More info:
I tried to git clone [email protected]:LearnBoost/websocket.io.git
and then git fetch origin 5f0b3799f50944bc4d1eb58acdef61c38883d6cf
, but got the error:
error: Server does not allow request for unadvertised object 5f0b3799f50944bc4d1eb58acdef61c38883d6cf
Workaround:
I instead downloaded a zip (https://github.com/LearnBoost/websocket.io/archive/5f0b3799f50944bc4d1eb58acdef61c38883d6cf.zip), did npm install
, npm link
, cloned markserv
locally and did npm link websocket.io
, npm install
, npm link
and I have the markserv
binary globally.
Lots of work, but worth it for this useful tool.
@F1LT3R please consider ditching websocket.io
for ws
or something.
from markserv.
+1 install failure. Is this abandoned?
from markserv.
FWIW I use grip now https://github.com/joeyespo/grip
from markserv.
@dwieeb problem with anything that depends on github API is throttling. I used MarkdownPS to easily generate markdown pages from PowerShell and then serve them for multiple people. GitHub API based solutions quickly run into the throttling issue.
from markserv.
Will try and get to this asap.
from markserv.
This repo works with @tuvistavie's fork.
npm install https://github.com/tuvistavie/markserv.git -g
from markserv.
This should be fixed now. Apologies for the wait.
- Changes are in Master
- Published to NPM
Could you npm install -g markserv
and let me know if it's behaving correctly for you too?
from markserv.
Related Issues (20)
- Add option to disable LiveReload HOT 1
- Unable to run multiple instance of markserv HOT 1
- bad links in HTML HOT 1
- non-existent pages return HTTP 200 code HOT 1
- AsciiMath Support Possibility via markdown-it-asciimath
- how to run markserv background,not automatic open web browse?
- support vimwiki style links. HOT 2
- howto add new language module HOT 1
- no favicon HOT 1
- URL-encode spaces in links HOT 1
- LiveReload is only enabled for base file HOT 1
- Dependencies warnings
- Serve single file HOT 2
- feature: Do not render Front Matter
- Feature Request: Markdown wiki link extension support? HOT 1
- Feature request: please support SUMMARY.md
- ENOSPC: System limit for number of file watchers reached HOT 2
- Enable math env like github flavoured markdown.
- Math errors with newlines and standalone $'s
- Table of content generation does not respect headers in includes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markserv.