docsify-ssr-demo icon indicating copy to clipboard operation
docsify-ssr-demo copied to clipboard

now -p command not found

Open billhennessy opened this issue 7 years ago • 2 comments

now -p produces command not found response. MacOS. npm start works.

billhennessy avatar Jul 13 '18 19:07 billhennessy

ssr not working. doc doesn't have good info

syedsimanta03 avatar Nov 29 '19 06:11 syedsimanta03

This repo/example definetely needs to be updated, but the now not found is an easy fix.

The company previously known as Zeit renamed to Vercel. This is also reflected on npm's now package

"now" is deprecated and will stop receiving updates on December 31, 2020. Please use "vercel" instead.

As for the command not found, you need to install the npm package globally. So if you run:

> npm install -g vercel

and replace now with vercel in the documentation - you will be unblocked. However, I was still not able to run this in SSR mode

damosullivan avatar Oct 02 '20 11:10 damosullivan