Skip to content

can not build nest app #399

@well-balanced

Description

@well-balanced

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions