Skip to content

Instantly share code, notes, and snippets.

@zendevil
Last active July 8, 2021 18:38
Show Gist options
  • Save zendevil/0f88020fa4c757f1fc3b664425c51a6d to your computer and use it in GitHub Desktop.
Save zendevil/0f88020fa4c757f1fc3b664425c51a6d to your computer and use it in GitHub Desktop.
shadow testing library error
[:test] Compiling ...
SHADOW import error /Users/prikshetsharma/Desktop/humboi/.shadow-cljs/builds/test/dev/out/cljs-runtime/shadow.js.shim.module$$testing_library$react.js
Error: Cannot find module '@testing-library/react'
Require stack:
- /Users/prikshetsharma/Desktop/humboi/target/test/test.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at /Users/prikshetsharma/Desktop/humboi/.shadow-cljs/builds/test/dev/out/cljs-runtime/shadow.js.shim.module$$testing_library$react.js:3:48
at global.SHADOW_IMPORT (/Users/prikshetsharma/Desktop/humboi/target/test/test.js:64:44)
at /Users/prikshetsharma/Desktop/humboi/target/test/test.js:1584:1
at Object.<anonymous> (/Users/prikshetsharma/Desktop/humboi/target/test/test.js:1591:3)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
[:test] Build completed. (67 files, 2 compiled, 0 warnings, 0.25s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment