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

http.init not found #1

Open
ocarlosapenas opened this issue Apr 4, 2022 · 1 comment
Open

http.init not found #1

ocarlosapenas opened this issue Apr 4, 2022 · 1 comment

Comments

@ocarlosapenas
Copy link

Clonei o repositorio para fins de estudo, rodei

npm install

Aparentemente instalou tudo sem erros:

up to date, audited 1353 packages in 12s
95 packages are looking for funding
  run `npm fund` for details
20 vulnerabilities (7 moderate, 13 high)
To address issues that do not require attention, run:
  npm audit fix
To address all issues (including breaking changes), run:
  npm audit fix --force
Run `npm audit` for details.

Mas ao rodar o serve, obtenho o erro de http.init not found:

 ERROR  Failed to compile with 1 error
This relative module was not found:
* ./http.init in ./src/services/base.service.js

image

@ocarlosapenas
Copy link
Author

O Erro está relacionado pois o nome do arquivo http.init na pasta src/services está em maiusculo.
No linux, nomes de arquivos são case sensitive:

image

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