epicweb-dev/web-auth

Error running this project

Closed this issue · 2 comments

for some reason when using the basic setup to start this course im getting this error:

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/yonatanitzhaky/Documents/development/epic-web-dev/web-auth/node_modules/@mux/playback-core/dist/index.mjs' imported from /Users/yonatanitzhaky/Documents/development/epic-web-dev/web-auth/node_modules/@mux/mux-player-react/dist/index.mjs
Did you mean to import @mux/playback-core/dist/index.cjs.js?
    at finalizeResolution (node:internal/modules/esm/resolve:264:11)
    at moduleResolve (node:internal/modules/esm/resolve:917:10)
    at defaultResolve (node:internal/modules/esm/resolve:1130:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
    at link (node:internal/modules/esm/module_job:84:36) {
  code: 'ERR_MODULE_NOT_FOUND',
  url: 'file:///Users/yonatanitzhaky/Documents/development/epic-web-dev/web-auth/node_modules/@mux/playback-core/dist/index.mjs'
}

i just did those steps:

git clone --depth 1 https://github.com/epicweb-dev/web-auth.git
cd web-auth
npm run setup

Also the deployed version seems to be dead

Yeah, I need to fix something about the deployed version.

From the look of it, there was probably an issue installing modules. Could you try it again? I just tried myself and it worked without issue. Maybe it was just a fluke?

@kentcdodds I did tried it more than once yesterday!, but today, removed completely everything, cloned again and did the setup, now it seems to be working!
Anyway, thanks! :)