Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not build nest app #399

Open
well-balanced opened this issue Jan 13, 2022 · 0 comments
Open

can not build nest app #399

well-balanced opened this issue Jan 13, 2022 · 0 comments

Comments

@well-balanced
Copy link

well-balanced commented Jan 13, 2022

I couldn't build nest app on the cicd branch. I think you just need to update a few things.

  1. bcrypt version upgrade
  2. update some files

src/config/graphql/index.ts

// before
requireResolversForResolveType: false

// after
requireResolversForResolveType: 'error' or 'warn'

src/shared/mail/index.ts

// before
console.log('Message sent: ' + JSON.parse(info))

// after
console.log('Message sent: ' + JSON.stringify(info))

Dockerfile

# before
CMD "npm run start:prod" 
# after
CMD ["npm", "run", "start:prod"]

docker-compose.yml

# before
    command: npm run start:prod

# after
    command: sh -c "npm rebuild && npm run start:dev"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant