notmurghi
PD🧩 Plasmo Developers
•Created by notmurghi on 5/29/2024 in #👾extension
unable to set up authentication
hi, i was following along the tutorial located here for google auth in my chrome extension: https://www.plasmo.com/blog/posts/firebase-chrome-extension
however, when i ran pnpm run dev at the end, i get the following error message:
node:internal/process/esm_loader:40
internalBinding('errors').triggerUncaughtException(
^
Error: Cannot find package 'C:\Users[redacted]\OneDrive\Desktop\Plasmo Google Auth Extension\google-auth-test\nodemodules.pnpm\[email protected]@[email protected]_@[email protected]@[email protected][email protected]_postcss_y2vd2wylauamp3mcs6jutwsrqi\node_modules@expo\spawn-async\package.json' imported from C:\Users[redacted]\OneDrive\Desktop\Plasmo Google Auth Extension\google-auth-test\nodemodules.pnpm\[email protected]@[email protected]_@[email protected]@[email protected][email protected]_postcss_y2vd2wylauamp3mcs6jutwsrqi\node_modules\plasmo\dist\index.js
Did you mean to import @[email protected]/node_modules/@expo/spawn-async/build/spawnAsync.js?
at legacyMainResolve (node:internal/modules/esm/resolve:205:26)
at packageResolve (node:internal/modules/esm/resolve:831:14)
at moduleResolve (node:internal/modules/esm/resolve:901:20)
at defaultResolve (node:internal/modules/esm/resolve:1121: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'
}
Node.js v20.10.0
 ELIFECYCLE  Command failed with exit code 1.
i would appreciate any help to resolve this issue, thank you!
2 replies