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

error while trying to run the project #6

Open
y9luiz opened this issue Jan 3, 2021 · 1 comment
Open

error while trying to run the project #6

y9luiz opened this issue Jan 3, 2021 · 1 comment

Comments

@y9luiz
Copy link

y9luiz commented Jan 3, 2021

After the setup steps i tried to run the project but it couldn't be done for some reason... anyone knows this error and know how i could fix it?

`
yarn run v1.22.5
$ ts-node src/shared/infra/http/server.ts
Error: Cannot find module '@config/upload'
Require stack:

  • /home/luiz/Projects/GoBarber/rocketseat-gobarber/backend/src/shared/infra/http/app.ts
  • /home/luiz/Projects/GoBarber/rocketseat-gobarber/backend/src/shared/infra/http/server.ts
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object. (/home/luiz/Projects/GoBarber/rocketseat-gobarber/backend/src/shared/infra/http/app.ts:8:1)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Module.m._compile (/home/luiz/Projects/GoBarber/rocketseat-gobarber/backend/node_modules/ts-node/src/index.ts:836:23)
    at Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Object.require.extensions. [as .ts] (/home/luiz/Projects/GoBarber/rocketseat-gobarber/backend/node_modules/ts-node/src/index.ts:839:12)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    error Command failed with exit code 1.
    info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
    `
@apiresian
Copy link

Still not working, same error.

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

2 participants