Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bun add ref #16077

Open
sayeed205 opened this issue Dec 31, 2024 · 0 comments
Open

bun add ref #16077

sayeed205 opened this issue Dec 31, 2024 · 0 comments
Labels
bun install Something that relates to the npm-compatible client

Comments

@sayeed205
Copy link

package.json file

{
  "name": "alac-bun",
  "type": "module",
  "version": "0.0.1",
  "packageManager": "[email protected]",
  "license": "MIT",
  "scripts": {
    "lint": "eslint .",
    "lint:fix": "eslint --fix .",
    "dev": "bun --watch ./src/main.ts",
    "build": "tsc && bun build src/main.ts --target=bun --outdir=dist"
  },
  "dependencies": {
    "@mtcute/bun": "^0.19.0",
    "@mtcute/dispatcher": "^0.19.0",
    "mongoose": "^8.9.3",
    "ref": "^1.3.5"
  },
  "devDependencies": {
    "@antfu/eslint-config": "^3.12.1",
    "@types/bun": "^1.1.14",
    "@types/node": "^22.10.2",
    "@types/ref-struct": "^0.0.33",
    "typescript": "^5.7.2"
  }
}

How can we reproduce the crash?

just do bun i with the given deps it will give errors or just try to add ref as deps it gives error but again rerunning the add command works.

Relevant log output

bun add ref
[0.00ms] ".env"
bun add v1.1.42 (50eec002)
  ⚙️  ref [1/1]

  binding.cc
D:\github\alac-bun\node_modules\ref\src\binding.cc(222,30): error C2660: 'v8::Value::BooleanValue': function does not take 0 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      C:\Users\sayee\AppData\Local\node-gyp\Cache\22.12.0\include\node\v8-value.h(437,8):
      see declaration of 'v8::Value::BooleanValue'
      D:\github\alac-bun\node_modules\ref\src\binding.cc(222,30):
      while trying to match the argument list '()'

D:\github\alac-bun\node_modules\ref\src\binding.cc(253,26): error C2660: 'v8::Value::Uint32Value': function does not take 0 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      C:\Users\sayee\AppData\Local\node-gyp\Cache\22.12.0\include\node\v8-value.h(445,41):
      see declaration of 'v8::Value::Uint32Value'
      D:\github\alac-bun\node_modules\ref\src\binding.cc(253,26):
      while trying to match the argument list '()'

D:\github\alac-bun\node_modules\ref\src\binding.cc(253,15): error C2440: 'initializing': cannot convert from 'v8::Maybe<uint32_t>' to 'size_t' [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(253,15):
      No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called

D:\github\alac-bun\node_modules\ref\src\binding.cc(360,27): error C2665: 'v8::String::Utf8Value::Utf8Value': no overloaded function could convert all the argument types [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      C:\Users\sayee\AppData\Local\node-gyp\Cache\22.12.0\include\node\v8-primitive.h(520,5):
      could be 'v8::String::Utf8Value::Utf8Value(const v8::String::Utf8Value &)'
          D:\github\alac-bun\node_modules\ref\src\binding.cc(360,27):
          'v8::String::Utf8Value::Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value &'
              D:\github\alac-bun\node_modules\ref\src\binding.cc(360,28):
              Reason: cannot convert from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value'
              D:\github\alac-bun\node_modules\ref\src\binding.cc(360,28):
              No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
      D:\github\alac-bun\node_modules\ref\src\binding.cc(360,27):
      while trying to match the argument list '(v8::Local<v8::Value>)'

D:\github\alac-bun\node_modules\ref\src\binding.cc(447,27): error C2665: 'v8::String::Utf8Value::Utf8Value': no overloaded function could convert all the argument types [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      C:\Users\sayee\AppData\Local\node-gyp\Cache\22.12.0\include\node\v8-primitive.h(520,5):
      could be 'v8::String::Utf8Value::Utf8Value(const v8::String::Utf8Value &)'
          D:\github\alac-bun\node_modules\ref\src\binding.cc(447,27):
          'v8::String::Utf8Value::Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value &'
              D:\github\alac-bun\node_modules\ref\src\binding.cc(447,28):
              Reason: cannot convert from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value'
              D:\github\alac-bun\node_modules\ref\src\binding.cc(447,28):
              No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
      D:\github\alac-bun\node_modules\ref\src\binding.cc(447,27):
      while trying to match the argument list '(v8::Local<v8::Value>)'

D:\github\alac-bun\node_modules\ref\src\binding.cc(521,26): error C2660: 'v8::Value::Uint32Value': function does not take 0 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      C:\Users\sayee\AppData\Local\node-gyp\Cache\22.12.0\include\node\v8-value.h(445,41):
      see declaration of 'v8::Value::Uint32Value'
      D:\github\alac-bun\node_modules\ref\src\binding.cc(521,26):
      while trying to match the argument list '()'

D:\github\alac-bun\node_modules\ref\src\binding.cc(521,15): error C2440: 'initializing': cannot convert from 'v8::Maybe<uint32_t>' to 'size_t' [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(521,15):
      No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called

D:\github\alac-bun\node_modules\ref\src\binding.cc(550,32): error C2660: 'v8::Value::Uint32Value': function does not take 0 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      C:\Users\sayee\AppData\Local\node-gyp\Cache\22.12.0\include\node\v8-value.h(445,41):
      see declaration of 'v8::Value::Uint32Value'
      D:\github\alac-bun\node_modules\ref\src\binding.cc(550,32):
      while trying to match the argument list '()'

D:\github\alac-bun\node_modules\ref\src\binding.cc(550,21): error C2440: 'initializing': cannot convert from 'v8::Maybe<uint32_t>' to 'uint32_t' [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(550,21):
      No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called

D:\github\alac-bun\node_modules\ref\src\binding.cc(582,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(582,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(583,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(583,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(584,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(584,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(585,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(585,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(586,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(586,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(587,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(587,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(588,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(588,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(589,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(589,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(590,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(590,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(591,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(591,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(593,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(593,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(594,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(594,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(595,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(595,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(596,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(596,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(597,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(597,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(598,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(598,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(599,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(599,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(600,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(600,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(601,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(601,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(602,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(602,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(603,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(603,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(604,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(604,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(605,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(605,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(606,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(606,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(608,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(608,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(615,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(615,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(616,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(616,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(617,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(617,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(618,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(618,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(619,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(619,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(620,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(620,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(621,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(621,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(622,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(622,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(623,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(623,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(624,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(624,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(625,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(625,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(626,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(626,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(627,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(627,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(628,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(628,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(629,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(629,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(630,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(630,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(631,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(631,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(632,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(632,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(633,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(633,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(634,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(634,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(635,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(635,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(636,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(636,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(637,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(637,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(638,3): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(638,3):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<T>)'
          with
          [
              T=v8::Uint32
          ]

D:\github\alac-bun\node_modules\ref\src\binding.cc(641,11): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(641,11):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<v8::Object>)'

D:\github\alac-bun\node_modules\ref\src\binding.cc(642,11): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
      D:\github\alac-bun\node_modules\ref\src\binding.cc(642,11):
      while trying to match the argument list '(v8::Local<v8::String>, v8::Local<v8::Object>)'

D:\github\alac-bun\node_modules\ref\src\binding.cc(643,8): warning C4996: 'Nan::ForceSet': was declared deprecated [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]
D:\github\alac-bun\node_modules\ref\src\binding.cc(644,8): warning C4996: 'Nan::ForceSet': was declared deprecated [D:\github\alac-bun\node_modules\ref\build\binding.vcxproj]

gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp info find Python using Python version 3.13.1 found at "C:\Users\sayee\scoop\apps\python\current\python.exe"
gyp info find VS using VS2022 (17.11.35327.3) found at:
gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Community"
gyp info find VS run with --verbose for detailed information
gyp info spawn C:\Users\sayee\scoop\apps\python\current\python.exe
gyp info spawn args [
gyp info spawn args 'C:\\Users\\sayee\\scoop\\persist\\nodejs-lts\\bin\\node_modules\\node-gyp\\gyp\\gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'msvs',
gyp info spawn args '-I',
gyp info spawn args 'D:\\github\\alac-bun\\node_modules\\ref\\build\\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\sayee\\scoop\\persist\\nodejs-lts\\bin\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\sayee\\AppData\\Local\\node-gyp\\Cache\\22.12.0\\include\\node\\common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=C:\\Users\\sayee\\AppData\\Local\\node-gyp\\Cache\\22.12.0',
gyp info spawn args '-Dnode_gyp_dir=C:\\Users\\sayee\\scoop\\persist\\nodejs-lts\\bin\\node_modules\\node-gyp',
gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\sayee\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\22.12.0\\\\<(target_arch)\\\\node.lib',
gyp info spawn args '-Dmodule_root_dir=D:\\github\\alac-bun\\node_modules\\ref',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'D:\\github\\alac-bun\\node_modules\\ref\\build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe
gyp info spawn args [
gyp info spawn args 'build\\binding.sln',
gyp info spawn args '/clp:Verbosity=minimal',
gyp info spawn args '/nologo',
gyp info spawn args '/p:Configuration=Release;Platform=x64'
gyp info spawn args ]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\sayee\scoop\persist\nodejs-lts\bin\node_modules\node-gyp\lib\build.js:216:23)
gyp ERR! stack at ChildProcess.emit (node:events:524:28)
gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)
gyp ERR! System Windows_NT 10.0.22631
gyp ERR! command "C:\\Users\\sayee\\scoop\\apps\\nodejs-lts\\current\\node.exe" "C:\\Users\\sayee\\scoop\\apps\\nodejs-lts\\current\\bin\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\github\alac-bun\node_modules\ref
gyp ERR! node -v v22.12.0
gyp ERR! node-gyp -v v11.0.0
gyp ERR! not ok

error: install script from "ref" exited with 1

Stack Trace (bun.report)

how do I get this ?

@sayeed205 sayeed205 added the crash An issue that could cause a crash label Dec 31, 2024
@Jarred-Sumner Jarred-Sumner added bun install Something that relates to the npm-compatible client and removed crash An issue that could cause a crash labels Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bun install Something that relates to the npm-compatible client
Projects
None yet
Development

No branches or pull requests

2 participants