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

Cannot find module 'get-funtion-location' #900

Closed
intellectus-rojiwon opened this issue May 8, 2024 · 2 comments
Closed

Cannot find module 'get-funtion-location' #900

intellectus-rojiwon opened this issue May 8, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@intellectus-rojiwon
Copy link

intellectus-rojiwon commented May 8, 2024

Bug Report

A dependency on the get-function-location library exists in @nestia/core > WebSocketAdaptor. However, that library is not specified in the package.json of @nestia/core, which is causing an error "Can not find module get-function-location" in the runtime environment.

I solved the problem by temporarily installing get-function-location into the project. The library is installed by @nestia/sdk, so if I had the @nestia/sdk library installed in the runtime environment, I would not have found this bug. However, @nestia/sdk is a documentation build tool and is suitable for devDependencies, which are deleted with the npm prune --omit=dev command.

In conclusion, you should explicitly require a dependency on get-function-location in the @nestia/core library.

@nestia/core ^3.1.3
@nestia/sdk ^3.1.3

@samchon
Copy link
Owner

samchon commented May 8, 2024

Oops, I've forgotten to add dependency on @nestia/core too.

Will fix it ASAP.

@samchon samchon self-assigned this May 8, 2024
@samchon samchon added the bug Something isn't working label May 8, 2024
@samchon samchon added this to To do in V3 Major Update via automation May 8, 2024
@samchon samchon closed this as completed in d1934d0 May 8, 2024
samchon added a commit that referenced this issue May 8, 2024
Fix #900: add `get-function-location` dependency on `@nestia/core`.
V3 Major Update automation moved this from To do to Done May 8, 2024
@samchon
Copy link
Owner

samchon commented May 8, 2024

Upgrade to v3.1.4, then be fixed. Thanks for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

2 participants