Coder Social home page Coder Social logo

Comments (3)

SasinduDilshara avatar SasinduDilshara commented on June 6, 2024

This error occurs in the console, but seems like the module pulled successfully and it works

from ballerina-lang.

TharmiganK avatar TharmiganK commented on June 6, 2024

This is reproducible with Ballerina SwanLake Update 8, but with Update 4 it is not reproducible.

The error log with Update 8:

ballerinax/github:4.6.0 [central.ballerina.io ->/Users/tharmigan/.ballerina/repoballerinax/github:4.6.0 [central.ballerina.io ->/Users/tharmigan/.ballerina/repositories/central.ballerina.io/bala/ballerinax/github/4.6.0]  100% [
ballerinax/github:4.6.0 pulled from central successfully
ballerina: WARNING [github] ballerina/regex:1.3.2 is deprecated: This library is deprecated and will no longer be maintained or updated. Instead, it is recommended to use the ballerina/lang.regexp.
ballerina: WARNING [github] ballerina/regex:1.3.2 is deprecated: This library is deprecated and will no longer be maintained or updated. Instead, it is recommended to use the ballerina/lang.regexp.
ballerina: ERROR [ballerina/log/2.6.0::natives.bal:(267:1,270:12)] {ballerina/jballerina.java}METHOD_SIGNATURE_DOES_NOT_MATCH 'Incompatible param type for method 'replace' in class 'java.lang.String': Java type 'char' will not be matched to ballerina type 'handle''
ballerina: ERROR [ballerina/http/2.6.2::http_annotation.bal:(60:19,60:36)] annotation declaration requires a subtype of 'true', 'map<value:Cloneable>' or 'map<value:Cloneable>[]', but found 'ballerina/http:2.6.2:HttpServiceConfig'
ballerina: ERROR [ballerina/http/2.6.2::http_request_context.bal:(88:17,88:41)] invalid return type: members of a dependently-typed union type with an inferred typedesc parameter should have disjoint basic types
ballerina: compilation contains errors

The compilation errors seems to be expected as http/2.6.2 has breaking changes with Update 8, but not sure why these compilation errors are printed for bal pull command. @azinneera @anuruddhal Do you have an idea about this?

from ballerina-lang.

azinneera avatar azinneera commented on June 6, 2024

bal pull runs in sticky==true mode which cannot be altered. This is a known issue in bal pull. If there is no explicit requirement to use bal pull, we recommend using the bal build command.

from ballerina-lang.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.