Open petercroce opened 4 years ago
Same thing happened to me — I re-deployed, and I'm getting that same console error.
Just ran into I think a superset of these issues when trying to set up a new site
This folder isn't linked to a site yet
? What would you like to do? + Create & configure a new site
Choose a site name or leave blank for a random name. You can update later.
? Site name (optional): landmarkov
TypeError: Cannot read property 'slug' of undefined
at SitesCreateCommand.run (~/Repositories/aria-markov/landmarkov/node_modules/netlify-cli/src/commands/sites/create.js:42:29)
at async SitesCreateCommand._run (~/Repositories/aria-markov/landmarkov/node_modules/netlify-cli/node_modules/@oclif/command/lib/command.js:34:20)
at async DeployCommand.run (~/Repositories/aria-markov/landmarkov/node_modules/netlify-cli/src/commands/deploy.js:45:20)
at async DeployCommand._run (~/Repositories/aria-markov/landmarkov/node_modules/netlify-cli/node_modules/@oclif/command/lib/command.js:34:20)
at async Config.runCommand (~/Repositories/aria-markov/landmarkov/node_modules/netlify-cli/node_modules/@oclif/config/lib/config.js:151:9)
at async Main.run (~/Repositories/aria-markov/landmarkov/node_modules/netlify-cli/node_modules/@oclif/command/lib/main.js:21:9)
at async Main._run (~/Repositories/aria-markov/landmarkov/node_modules/netlify-cli/node_modules/@oclif/command/lib/command.js:34:20)
Tried to deploy manually with Netlify Drop and get the same 404: https://brave-jackson-cca0bc.netlify.app
Hello hello!
I was just using lorem-ipsum-generator-generator and noticed what I think is a bug. After an initial deploy, I made some changes to index.html, re-deployed, and now the generator no longer generates lorem ipsum.
Steps to reproduce:
npx @postlight/lorem-ipsum-generator-generator
npm run deploy
./.netlify/functions/generate?paragraphs=4
Maybe some small change in Netlify's serverless function deploy scripts causing the serverless function not to deploy on subsequent deploys.