TaxyAI / browser-extension

Automate your browser with GPT-4
MIT License
971 stars 387 forks source link

yarn error #64

Open vadim0x60 opened 3 months ago

vadim0x60 commented 3 months ago

I tried cloning the repository and executing yarn. I get this error:

error: libtool: file: Release/obj.target/libsass/src/libsass/src/ast.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/ast_fwd_decl.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/backtrace.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/base64vlq.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/bind.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/cencode.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/check_nesting.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/color_maps.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/constants.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/context.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/cssize.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/emitter.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/environment.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/error_handling.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/eval.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/expand.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/extend.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/file.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/functions.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/inspect.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/json.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/lexer.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/listize.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/memory/SharedPtr.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/node.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/operators.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/output.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/parser.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/plugins.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/position.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/prelexer.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/remove_placeholders.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/sass.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/sass2scss.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/sass_context.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/sass_functions.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/sass_util.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/sass_values.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/source_map.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/subset_map.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/to_c.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/to_value.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/units.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/utf8_string.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/util.o is not an object file (not allowed in a library)
error: libtool: file: Release/obj.target/libsass/src/libsass/src/values.o is not an object file (not allowed in a library)
make: *** [Release/sass.a] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/vadimliventsev/code/browser-extension/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (node:events:520:28)
gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:294:12)
gyp ERR! System Darwin 23.5.0
gyp ERR! command "/opt/homebrew/Cellar/node/22.4.1/bin/node" "/Users/vadimliventsev/code/browser-extension/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Users/vadimliventsev/code/browser-extension/node_modules/node-sass
gyp ERR! node -v v22.4.1
gyp ERR! node-gyp -v v8.4.1
gyp ERR! not ok
Build failed with error code: 1
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
tobelger commented 3 months ago

You can try to change the dependency node-sass to sass ^1.77.8. Node-sass is deprecated and should be replaced in your package.json.