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 './' #91

Closed
AnkitKaura opened this issue Apr 27, 2021 · 1 comment · Fixed by #95
Closed

Cannot find module './' #91

AnkitKaura opened this issue Apr 27, 2021 · 1 comment · Fixed by #95
Assignees
Labels
❕ Answer Answer 🐞 Bug Something isn't working Fix 👉 Fix ❔ Question Question

Comments

@AnkitKaura
Copy link

Summary(요약)

Getting error at npm start command

Additional Details(추가적인 세부 사항)

  1. Project setup using command npx typescript-express-starter "project name"

  2. npm run start

Following error generated

`npx: installed 61 in 14.582s
Info: === tsc-alias starting ===
Info: 27 files were affected!
internal/modules/cjs/loader.js:638
throw err;
^

Error: Cannot find module './'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (D:\Paxcom\kinator-connector\dist\server.js:6:40)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! kinator-connector@0.0.0 start: npm run build && cross-env NODE_ENV=production node dist/server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the kinator-connector@0.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.`

@ljlm0402
Copy link
Owner

ljlm0402 commented May 4, 2021

@AnkitKaura

Thank you for leaving the bug issue.
We will deal with the same issue together. #89

@ljlm0402 ljlm0402 added the 🐞 Bug Something isn't working label May 4, 2021
ljlm0402 added a commit that referenced this issue May 4, 2021
- Starting the app throws an error (Ubuntu) #89
- Cannot find module './' #91
- ReferenceError: exports is not defined #94
@ljlm0402 ljlm0402 linked a pull request May 4, 2021 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❕ Answer Answer 🐞 Bug Something isn't working Fix 👉 Fix ❔ Question Question
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants