Skip to content

antwar.config.js contains Chinese and causes the build to fail #2170

@hello-lizhihua

Description

@hello-lizhihua

In this pull-request, docschina/webpack.js.org CI reported an error:

/home/travis/build/docschina/webpack.js.org/build/site.js:28
 */,n.exports=function(n,a){if(!t.canUseDOM||a&&!("addEventListener"in document))return!1;var e="on"+n,o=e in document;if(!o){var c=document.createElement("div");c.setAttribute(e,"return;"),o="function"==typeof c[e]}return!o&&s&&"wheel"===n&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}},function(n,a,e){"use strict";n.exports=function(n){var a=n.target||n.srcElement||window;return a.correspondingUseElement&&(a=a.correspondingUseElement),3===a.nodeType?a.parentNode:a}},function(n,a,e){"use strict";var s=null;function t(n,a,e){try{a(e)}catch(n){null===s&&(s=n)}}var o={invokeGuardedCallback:t,invokeGuardedCallbackWithCatch:t,rethrowCaughtError:function(){if(s){var n=s;throw s=null,n}}};n.exports=o},function(n,a,e){"use strict";var s,t,o=e(4),c=e(72);e(2),e(5);function p(n,a,e,s){var t=n.type||"unknown-event";n.currentTarget=l.getNodeFromInstance(s),a?c.invokeGuardedCallbackWithCatch(t,e,n):c.invokeGuardedCallback(t,e,n),n.currentTar
Error: Cannot find module ".///index.md".
    at o (/home/travis/build/docschina/webpack.js.org/build/site.js:28:2797178)
    at t (/home/travis/build/docschina/webpack.js.org/build/site.js:28:2797119)
    at a.default (/home/travis/build/docschina/webpack.js.org/build/site.js:6:8005)
    at l._constructComponentWithoutOwner (/home/travis/build/docschina/webpack.js.org/build/site.js:28:214041)
    at l._constructComponent (/home/travis/build/docschina/webpack.js.org/build/site.js:28:213895)
    at l.mountComponent (/home/travis/build/docschina/webpack.js.org/build/site.js:28:213050)
    at Object.mountComponent (/home/travis/build/docschina/webpack.js.org/build/site.js:14:76394)
    at Y.mountChildren (/home/travis/build/docschina/webpack.js.org/build/site.js:28:220959)
    at Y._createContentMarkup (/home/travis/build/docschina/webpack.js.org/build/site.js:28:236521)
    at Y.mountComponent (/home/travis/build/docschina/webpack.js.org/build/site.js:28:235189)
/home/travis/build/docschina/webpack.js.org/build/site.js:28
 */,n.exports=function(n,a){if(!t.canUseDOM||a&&!("addEventListener"in document))return!1;var e="on"+n,o=e in document;if(!o){var c=document.createElement("div");c.setAttribute(e,"return;"),o="function"==typeof c[e]}return!o&&s&&"wheel"===n&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}},function(n,a,e){"use strict";n.exports=function(n){var a=n.target||n.srcElement||window;return a.correspondingUseElement&&(a=a.correspondingUseElement),3===a.nodeType?a.parentNode:a}},function(n,a,e){"use strict";var s=null;function t(n,a,e){try{a(e)}catch(n){null===s&&(s=n)}}var o={invokeGuardedCallback:t,invokeGuardedCallbackWithCatch:t,rethrowCaughtError:function(){if(s){var n=s;throw s=null,n}}};n.exports=o},function(n,a,e){"use strict";var s,t,o=e(4),c=e(72);e(2),e(5);function p(n,a,e,s){var t=n.type||"unknown-event";n.currentTarget=l.getNodeFromInstance(s),a?c.invokeGuardedCallbackWithCatch(t,e,n):c.invokeGuardedCallback(t,e,n),n.currentTar

After troubleshooting, it was found to be antwar.config.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions