vercel / vercel/ncc

can't support argon2

Open
#464 2 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
9.8k
Forks
326
PR merge metrics
No merged PRs in 30d

Description

https://github.com/ranisalt/node-argon2

/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:201473
  throw new Error('No native build was found for ' + target)
  ^

Error: No native build was found for platform=darwin arch=x64 runtime=node abi=72 uv=1 libc=glibc
    at Function.module.exports.load.path (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:201473:9)
    at load (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:201437:30)
    at Object.<anonymous> (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:217784:81)
    at webpack_require (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:22:30)
    at Object.<anonymous> (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:259301:18)
    at webpack_require (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:22:30)
    at Object.<anonymous> (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:411873:10)
    at webpack_require (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:22:30)
    at Object.<anonymous> (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:210789:17)
    at webpack_require (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:22:30)
    at startup (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:39:19)
    at /Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:45:18
    at Object.<anonymous> (/Users/ims/Desktop/guanjie/ganker/dist/addons/basic/index.js:48:10)
    at Module._compile (internal/modules/cjs/loader.js:774:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)
    at Module.load (internal/modules/cjs/loader.js:641:32)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure using the linked node-argon2 package and inspect the generated dist/addons/basic/index.js paths shown in the stack trace. Determine how the bundled output handles the native addon on darwin x64 with the Node ABI shown; done means the project can bundle and load this dependency without the reported missing-native-build error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.