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: Cannot find module './serviceAccount.json' #1

Open
inos-github opened this issue Sep 1, 2023 · 0 comments
Open

Error: Cannot find module './serviceAccount.json' #1

inos-github opened this issue Sep 1, 2023 · 0 comments

Comments

@inos-github
Copy link

running "npm run watch" is throwing an exception:

Error: Cannot find module './serviceAccount.json'
Require stack:
- /progs/NoteHub/server/src/routes/firebase/firebase.initi
- /progs/NoteHub/server/src/routes/firebase/firebase.utils
- /progs/NoteHub/server/src/hocuspocus-hooks/hooks.js
- /progs/NoteHub/server/src/server.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loa
    at Function.Module._load (node:internal/modules/cjs/loader:873:27)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.<anonymous> (/home/martin/progs/NoteHub/server/src/route
    at Module._compile (node:internal/modules/cjs/loader:1198:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/progs/NoteHub/server/src/routes/firebase/firebase.in
    '/progs/NoteHub/server/src/routes/firebase/firebase.ut
    '/progs/NoteHub/server/src/hocuspocus-hooks/hooks.js',
    '/progs/NoteHub/server/src/server.js'
  ]
}
[nodemon] app crashed - waiting for file changes before starting...
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