TrilonIO / zeit-now-nestjs

Deploy NestJS to Zeit Now
https://trilon.io
29 stars 10 forks source link

Error during deploy #5

Closed JiDai closed 4 years ago

JiDai commented 4 years ago

Hi,

I jut clone and run now on your project but I get an error :

? Set up and deploy “~/GitHome/zeit-now-nestjs”? [Y/n] y
? Which scope do you want to deploy to? Jordi Dosne
? Link to existing project? [y/N] n
? What’s your project’s name? nestjs-now
? In which directory is your code located? zeit-now-nestjs/
❗️  The `name` property in now.json is deprecated (https://zeit.ink/5F)
Error! You defined 1 build that did not match any source files (please ensure they are NOT defined in .nowignore):
- {"src":"dist/main.js","use":"@now/node"}

I don't understand why.

JiDai commented 4 years ago

I did not ran npm run build before. It works now