[Pkg-javascript-devel] [Help Needed] node-mermaid

Nilesh Patra npatra974 at gmail.com
Thu Aug 20 23:09:49 BST 2020


Hi,
While trying to build node-mermaid on salsa[1], I get this error with
webpack build:

   ERROR in ./src/utils.js
    Module not found: Error: Can't resolve '@braintree/sanitize-url' in
'/<<PKGBUILDDIR>>/src'
     @ ./src/utils.js 21:0-54 288:13-24
     @ ./src/mermaid.js

    ERROR in ./src/diagrams/gantt/ganttDb.js
    Module not found: Error: Can't resolve '@braintree/sanitize-url' in
'/<<PKGBUILDDIR>>/src/diagrams/gantt'
     @ ./src/diagrams/gantt/ganttDb.js 14:0-54 487:14-25
     @ ./src/mermaidAPI.js
     @ ./src/mermaid.js
Child

While sanitize-url is already embedded in the source package. I currently
do not have any idea as to why @braintree/sanitize-url can't be resolved
during webpack build.
All my changes are pushed to the team-repo[1].

Any help would be appreciated.

[1]: https://salsa.debian.org/js-team/node-mermaid

Thanks and regards
Nilesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20200821/f06fd4bb/attachment.html>


More information about the Pkg-javascript-devel mailing list