Comments (5)
The first error seems like a one from microtime
, not swc.
from node-swc.
Hmm this seems to all work if I use: ./scripts/ci/linux/build.sh
is that normally how you build it?
from node-swc.
@jonathanKingston Yes, the ci invokes the script in the docker
from node-swc.
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.
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)
- prebuilt release for gcc 4.8 HOT 26
- Use serde_json with JSON.parse
- Support npm_config_build_from_source in place of SKIP_SWC_BINARY_DOWNLOAD_FOR_CI HOT 3
- when using @swc/core as a module, "minify" option is ignored HOT 1
- Builds for darwin-x64-79? HOT 2
- `i686-pc-windows-msvc` target may not be installed HOT 2
- Smaller binary size HOT 4
- Calling async API from node worker threads results in errors HOT 4
- transformSync with an AST does not transform HOT 7
- v1.1.43 Release HOT 3
- node14.2.0 HOT 1
- Error on alpine: Missing linux_musl-x64-83.node HOT 6
- Windows builds are broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-swc.