Code Monkey home page Code Monkey logo

Comments (5)

kdy1 avatar kdy1 commented on June 19, 2024

The first error seems like a one from microtime, not swc.

from node-swc.

jonathanKingston avatar jonathanKingston commented on June 19, 2024

Hmm this seems to all work if I use: ./scripts/ci/linux/build.sh is that normally how you build it?

from node-swc.

kdy1 avatar kdy1 commented on June 19, 2024

@jonathanKingston Yes, the ci invokes the script in the docker

from node-swc.

jonathanKingston avatar jonathanKingston commented on June 19, 2024

I guess I was looking for the suggested way that you'd build this locally to test changes in swc (I have a bug it seems with require always in the node output). In my project I'm using const swc = require("@swc/core"); I'm hoping I can just fix a bug but I'm struggling to build.

I built the code but then including it via npm link to my project or directly to the native output.

Any advice would be really great.

from node-swc.

jonathanKingston avatar jonathanKingston commented on June 19, 2024

Huh all of a sudden it now works! I'm guessing it was a dependency order or something perhaps?
I'm going to close this as I don't really know the order that fixed it, feel free to re-open etc.

from node-swc.

Related Issues (14)

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.