coc extension contains C code cannot be build when CocInstall
#4960
-
For a nodejs project containing |
Beta Was this translation helpful? Give feedback.
Answered by
fannheyward
Mar 27, 2024
Replies: 1 comment 17 replies
-
CocInstall steps:
|
Beta Was this translation helpful? Give feedback.
17 replies
Answer selected by
Freed-Wu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
npm install
runsnode-gyp rebuild
automatically in project that contains native add-onsbinding.gyp
CocInstall steps:
~/.config/coc/extensions/node_modules
, with an uniq temp folderlib/index.js
file, maybe with some dependenciesnpm install --ignore-scripts --no-lockfile --omit=dev --legacy-peer-deps…