mircrotask-extension-math throw "Cannot find module 'assert'" error when NODE_ENV is 'development' #89
Answered
by
wooorm
curly210102
asked this question in
Q&A
-
My project dependent remark-math, when project works in development mode, NODE_ENV is set as "development". But mircrotask-extension-math will run dev/index.js in development, https://github.com/micromark/micromark-extension-math/blob/main/package.json. dev/index.js without unassert by microtask-build, is there any good solution rather than fallback to old version? |
Beta Was this translation helpful? Give feedback.
Answered by
wooorm
Sep 12, 2021
Replies: 1 comment
-
See #87. Quick answer: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
wooorm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See #87.
Quick answer:
npm install assert
or configure your bundler.