okikio / bundlejs

An online tool to quickly bundle & minify your projects, while viewing the compressed gzip/brotli bundle size, all running locally on your browser.
https://bundlejs.com
MIT License
780 stars 14 forks source link

Failed to build node-libcurl ("Couldn't load") #59

Open nktnet1 opened 1 year ago

nktnet1 commented 1 year ago

When trying to build node-libcurl, I get the following error:

bundlejs_node-libcurl

The full error message is:

Error: [getRequest] Failed at request (https://unpkg.com/node-libcurl@3.0.0/lib/binding/node_libcurl.node)
Error: Couldn't load https://unpkg.com/node-libcurl@3.0.0/lib/binding/node_libcurl.node (404 code)
✘ [ERROR] [getRequest] Failed at request (https://unpkg.com/node-libcurl@3.0.0/lib/binding/node_libcurl.node)

Error: Couldn't load https://unpkg.com/node-libcurl@3.0.0/lib/binding/node_libcurl.node (404 code) [plugin http-url]

http-url:https://unpkg.com/node-libcurl@3.0.0/dist/Multi:5:25:

      5 │ const bindings = require('../lib/binding/node_libcurl.node');
        ╵                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(if you are having trouble solving this issue, please create a new issue in the repo, https://github.com/okikio/bundle)

Source: https://bundlejs.com/?q=node-libcurl%403.0.0&treeshake=%5B*%5D

Potentially related to #58.

okikio commented 11 months ago

bundlejs currently doesn't support node-gyp, and the automatic building of node binaries like that, I'll add this to the TODO list.