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

mock-server fails docker build #399

Closed
LexLuengas opened this issue Oct 27, 2022 · 0 comments · Fixed by #403
Closed

mock-server fails docker build #399

LexLuengas opened this issue Oct 27, 2022 · 0 comments · Fixed by #403

Comments

@LexLuengas
Copy link
Collaborator

Problem

Latest docker image build failed (https://github.com/EXXETA/openapi-cop/actions/runs/3337710608) due to package.json in mock-server not being found.

#10 17.04 npm WARN old lockfile Error: ENOENT: no such file or directory, open '/openapi-cop-docker/mock-server/package.json'
#10 17.04 npm WARN old lockfile  Could not fetch metadata for openapi-cop-mock-server@file:../mock-server [Error: ENOENT: no such file or directory, open '/openapi-cop-docker/mock-server/package.json'] {
#10 17.04 npm WARN old lockfile   errno: -2,
#10 17.04 npm WARN old lockfile   code: 'ENOENT',
#10 17.04 npm WARN old lockfile   syscall: 'open',
#10 17.04 npm WARN old lockfile   path: '/openapi-cop-docker/mock-server/package.json'
#10 17.04 npm WARN old lockfile }

There is also a warning pointing to a wrong runtime node version:

#10 17.10 npm WARN EBADENGINE Unsupported engine {
#10 17.10 npm WARN EBADENGINE   package: '@exxeta/[email protected]',
#10 17.10 npm WARN EBADENGINE   required: { node: '^10 || ^12' },
#10 17.10 npm WARN EBADENGINE   current: { node: 'v18.12.0', npm: '8.19.2' }
#10 17.10 npm WARN EBADENGINE }

Finally, there is also a minor warning about deprecated usage: #10 0.638 npm WARN config only Use --omit=dev to omit dev dependencies from the install..

@LexLuengas LexLuengas linked a pull request Dec 9, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant