Code Monkey home page Code Monkey logo

libxml2-xpath's Introduction

libxml2-xpath's People

Contributors

yskszk63 avatar

Watchers

 avatar  avatar

libxml2-xpath's Issues

Example fails by: Invalid FFI pointer type, expected null, or External

Running

docker run    
        --interactive  \  
        --tty   \ 
        --platform linux/amd64 \
        --rm   \
        --volume $PWD:/app  \
        --volume $HOME/.deno:/deno-dir  \
        --workdir /app   \
        deno deno run --allow-read --allow-ffi --unstable examples/parse-xcb.ts 

fails by

error: Uncaught (in promise) TypeError: Invalid FFI pointer type, expected null, or External
    this.#ptr = lib.symbols.xmlCreatePushParserCtxt(
                            ^
    at new PushParseCtxt (https://deno.land/x/[email protected]/mod.ts:89:29)
    at parseDocument (https://deno.land/x/[email protected]/mod.ts:442:17)
    at eventLoopTick (ext:core/01_core.js:183:11)
    at async file:///app/examples/parse-xcb.ts:9:15

Dockefile on Macbook M1

FROM --platform=linux/amd64 denoland/deno:1.37.0

RUN DEBIAN_FRONTEND=noninteractive  \
    apt-get update                      \
    && apt-get install -qy              \
    libxml2-utils                       \
    libxml2-dev                         \
    libxml2                               

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.