Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sritchie/shadow-repro
https://github.com/sritchie/shadow-repro
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sritchie/shadow-repro
- Owner: sritchie
- Created: 2022-12-20T16:50:29.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-29T21:18:37.000Z (about 1 year ago)
- Last Synced: 2024-10-13T10:05:29.271Z (2 months ago)
- Language: Clojure
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shadow-cljs error repro
```
npm run test
```results:
```
> test
> shadow-cljs compile test && node target/main/node-tests.js;shadow-cljs - config: /Users/sritchie/code/clj/repro/shadow-cljs.edn
shadow-cljs - socket connect failed, server process dead?
shadow-cljs - starting via "clojure"
[:test] Compiling ...
[:test] Build completed. (173 files, 118 compiled, 0 warnings, 5.75s)
no "source-map-support" (run "npm install source-map-support --save-dev" to get it)
SHADOW import error /Users/sritchie/code/clj/repro/.shadow-cljs/builds/test/dev/out/cljs-runtime/shadow.js.shim.module$markdown_it.js
/Users/sritchie/code/clj/repro/target/main/node-tests.js:67
throw e;
^Error: Cannot find module 'markdown-it'
Require stack:
- /Users/sritchie/code/clj/repro/target/main/node-tests.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
at Function.Module._load (node:internal/modules/cjs/loader:833:27)
at Module.require (node:internal/modules/cjs/loader:1057:19)
at require (node:internal/modules/cjs/helpers:103:18)
at /Users/sritchie/code/clj/repro/.shadow-cljs/builds/test/dev/out/cljs-runtime/shadow.js.shim.module$markdown_it.js:3:37
at global.SHADOW_IMPORT (/Users/sritchie/code/clj/repro/target/main/node-tests.js:64:44)
at /Users/sritchie/code/clj/repro/target/main/node-tests.js:1460:1
at Object. (/Users/sritchie/code/clj/repro/target/main/node-tests.js:1524:3)
at Module._compile (node:internal/modules/cjs/loader:1155:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/Users/sritchie/code/clj/repro/target/main/node-tests.js' ]
```