Small note for those who use yarn (like me) and not npm. You will get npm ERR! cipm can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync.
because obviously package-lock.json doesn't exist. You either need to create package-lock by npm install or change a bit last lines of gh-pages-deploy.yml to
Small note for those who use
yarn
(like me) and not npm. You will getnpm ERR! cipm can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync.
because obviously
package-lock.json
doesn't exist. You either need to create package-lock bynpm install
or change a bit last lines ofgh-pages-deploy.yml
toThank you Philipp.