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
Full Print out of error
npm install -g @accordproject/markdown-cli
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see request/request#3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see request/request#3142
npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
added 414 packages, and audited 415 packages in 18s
26 packages are looking for funding
run npm fund for details
15 vulnerabilities (10 low, 5 moderate)
To address all issues, run:
npm audit fix
Run npm audit for details.
➜ ~ markus --help
node:internal/modules/cjs/loader:944
throw err;
^
/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/index.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:941:15)
at Function.Module._load (node:internal/modules/cjs/loader:774:27)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object. (/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/node_modules/@accordproject/markdown-pdf/lib/ToCiceroMark.js:22:16)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object. (/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/node_modules/@accordproject/markdown-pdf/lib/PdfTransformer.js:24:22)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object. (/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/node_modules/@accordproject/markdown-pdf/index.js:22:33)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object. (/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/node_modules/@accordproject/markdown-transform/lib/transform.js:27:24)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object. (/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/node_modules/@accordproject/markdown-transform/index.js:22:35)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object. (/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/index.js:20:25)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/node_modules/@accordproject/markdown-pdf/lib/ToCiceroMark.js',
'/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/node_modules/@accordproject/markdown-pdf/lib/PdfTransformer.js',
'/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/node_modules/@accordproject/markdown-pdf/index.js',
'/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/node_modules/@accordproject/markdown-transform/lib/transform.js',
'/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/node_modules/@accordproject/markdown-transform/index.js',
'/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/index.js'
]
}
Possible Solution
add pdf.js
Steps to Reproduce
npm install -g @accordproject/markdown-cli
Context (Environment)
Desktop
OS: [e.g. macOS]
Browser: [e.g. Chrome, Safari]
Version: [e.g. 0.22.15]
Detailed Description
Possible Implementation
The text was updated successfully, but these errors were encountered:
Bug Report 🐛
npm install on OSX:
npm install -g @accordproject/markdown-cli
Error: Cannot find module 'pdfjs-dist/es5/build/pdf.js'
Require stack:
Expected Behavior
install CLI
Current Behavior
Full Print out of error
npm install -g @accordproject/markdown-cli
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see request/request#3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see request/request#3142
npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
added 414 packages, and audited 415 packages in 18s
26 packages are looking for funding
run
npm fund
for details15 vulnerabilities (10 low, 5 moderate)
To address all issues, run:
npm audit fix
Run
npm audit
for details.➜ ~ markus --help
node:internal/modules/cjs/loader:944
throw err;
^
Error: Cannot find module 'pdfjs-dist/es5/build/pdf.js'
Require stack:
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:941:15)
at Function.Module._load (node:internal/modules/cjs/loader:774:27)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object. (/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/node_modules/@accordproject/markdown-pdf/lib/ToCiceroMark.js:22:16)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object. (/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/node_modules/@accordproject/markdown-pdf/lib/PdfTransformer.js:24:22)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object. (/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/node_modules/@accordproject/markdown-pdf/index.js:22:33)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object. (/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/node_modules/@accordproject/markdown-transform/lib/transform.js:27:24)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object. (/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/node_modules/@accordproject/markdown-transform/index.js:22:35)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18)
at Object. (/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/index.js:20:25)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/node_modules/@accordproject/markdown-pdf/lib/ToCiceroMark.js',
'/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/node_modules/@accordproject/markdown-pdf/lib/PdfTransformer.js',
'/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/node_modules/@accordproject/markdown-pdf/index.js',
'/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/node_modules/@accordproject/markdown-transform/lib/transform.js',
'/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/node_modules/@accordproject/markdown-transform/index.js',
'/Users/tmb/.nvm/versions/node/v16.1.0/lib/node_modules/@accordproject/markdown-cli/index.js'
]
}
Possible Solution
add pdf.js
Steps to Reproduce
Context (Environment)
Desktop
Detailed Description
Possible Implementation
The text was updated successfully, but these errors were encountered: