Skip to content

Travis build is failing for Node.js version 16.13.0 #213

@mayank-katare

Description

@mayank-katare

Hi team,

I am trying to give travis build and using node version 16.13.0 but it's failing. The build is failing after executing the command npm ci for the build with the below error.

CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o CC(target) Release/obj.target/expat/deps/libexpat/lib/xmltok.o In file included from ../deps/libexpat/lib/xmltok.c:306:0: ../deps/libexpat/lib/xmltok_impl.c: In function ‘normal_isPublicId’: ../deps/libexpat/lib/xmltok_impl.c:1404:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!(BYTE_TO_ASCII(enc, ptr) & ~0x7f)) ^ ../deps/libexpat/lib/xmltok_impl.c:1406:5: note: here default: ^~~~~~~ ../deps/libexpat/lib/xmltok_impl.c: In function ‘normal_sameName’: ../deps/libexpat/lib/xmltok_impl.c:1624:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if (*ptr1++ != *ptr2++) \ ^ ../deps/libexpat/lib/xmltok_impl.c:1626:5: note: in expansion of macro ‘LEAD_CASE’ LEAD_CASE(4) LEAD_CASE(3) LEAD_CASE(2) ^~~~~~~~~ ../deps/libexpat/lib/xmltok_impl.c:1623:5: note: here case BT_LEAD ## n: \ ^ ../deps/libexpat/lib/xmltok_impl.c:1626:18: note: in expansion of macro ‘LEAD_CASE’ LEAD_CASE(4) LEAD_CASE(3) LEAD_CASE(2)

And when i am using node version 14.18.1, it is giving the build successfully. Is there any limitation for node-expat with node version 16.13.0 ?

In my local machine, i am using node v16 and able to give build successfully

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