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

Running nestia in Docker #724

Open
jymchng opened this issue Dec 18, 2023 · 0 comments
Open

Running nestia in Docker #724

jymchng opened this issue Dec 18, 2023 · 0 comments

Comments

@jymchng
Copy link

jymchng commented Dec 18, 2023

Bug Report

Note that, the bug you're reporting may have registered in the issues by another user. Even the bug you're reporting may have been fixed in the @next version. In such reasons, I recommend you to check the old issues and reproduct your code with the @next version before publishing the bug reporting issue.

`npm install --save-dev nestia@next`

When the same error occurs even in the @next version, then please fill the below template:

Summary

Hi, when I am deploying my NestJS app with Nestia as my validator using Docker. It failed at the npm run build (i.e. nest build) because it cannot find the type, see below:

RUN npm run build:
0.875 
0.875 > [email protected] build
0.875 > nest build
0.875 
11.67 
11.67  Error  Cannot read properties of undefined (reading 'type')
11.67 
------

If I run npx nestia setup, my docker build fails immediately because docker doesn't allow me to 'reply' to your prompts in nestia setup!

  • SDK Version: 2.1.0-dev.20220505
  • Expected behavior:
  • Actual behavior:

Write detailed description in here.

Code occuring the bug

/* Demonstration code occuring the bug you're reporting */

Write the demonstration code occuring the bug you're reporting.

However, as the nestia is not a typical library who being used by the import statement but a executable program generating the SDK (Software Development Kit), it would be difficult to describe the bug with only the demonstration code.

In that case, you'd better to make a demonstration project occuring the bug to report. After the demonstration repository composition, fill the below bash script section. Of course, if you can describe the bug clearly, without the demonstration project construction, just skip it. Creating the demonstration repository is not essential.

git clone https://github.com/someone/nestia-bug-report-xxx
cd nestia-bug-report-xxx
npx nestia sdk
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