You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
markmap -o /tmp/markmap.html /home/zeioth/myfile.md
node:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise */);
^
[AggregateError: All promises were rejected] {
[errors]: [
ReferenceError: fetch is not defined
at /home/zeioth/.config/yarn/global/node_modules/markmap-common/dist/index.js:31:19
at Array.map (<anonymous>)
at UrlBuilder.getFastestProvider (/home/zeioth/.config/yarn/global/node_modules/markmap-common/dist/index.js:30:55)
at UrlBuilder.findFastestProvider (/home/zeioth/.config/yarn/global/node_modules/markmap-common/dist/index.js:40:32)
at createMarkmap (file:///home/zeioth/.config/yarn/global/node_modules/markmap-cli/dist/index.js:321:34)
at Command.<anonymous> (file:///home/zeioth/.config/yarn/global/node_modules/markmap-cli/dist/index.js:367:13),
ReferenceError: fetch is not defined
at /home/zeioth/.config/yarn/global/node_modules/markmap-common/dist/index.js:31:19
at Array.map (<anonymous>)
at UrlBuilder.getFastestProvider (/home/zeioth/.config/yarn/global/node_modules/markmap-common/dist/index.js:30:55)
at UrlBuilder.findFastestProvider (/home/zeioth/.config/yarn/global/node_modules/markmap-common/dist/index.js:40:32)
at createMarkmap (file:///home/zeioth/.config/yarn/global/node_modules/markmap-cli/dist/index.js:321:34)
at Command.<anonymous> (file:///home/zeioth/.config/yarn/global/node_modules/markmap-cli/dist/index.js:367:13)
]
}
To Reproduce
on node v16.20.1 run markmap -o /tmp/markmap.html ~/myfile.md
Expected behavior
A html file is generated in /tmp/markmap.html
Actual behavior
An error is displayed and the file is not created.
Environment:
OS: arch
Browser: Firefox 115.0.2
Additional context
The -w flag seems to at least open the html in the browser though.
my markmap version is 0.15.2 but it also hapen with 0.14, so the cause is probably a new node version.
The text was updated successfully, but these errors were encountered:
Describe the bug
It used to work fine, but it doesn't now:
To Reproduce
on
node v16.20.1
runmarkmap -o /tmp/markmap.html ~/myfile.md
Expected behavior
A html file is generated in /tmp/markmap.html
Actual behavior
An error is displayed and the file is not created.
Environment:
Additional context
The -w flag seems to at least open the html in the browser though.
my markmap version is 0.15.2 but it also hapen with 0.14, so the cause is probably a new node version.
The text was updated successfully, but these errors were encountered: