When trying to deploy a Grindsome site (Doccs theme), I keep hitting ‘failed to install dependencies’.
You can find the repo here: https://github.com/arjmeadows/docc3
12:47:36 PM: Traceback (most recent call last):
12:47:36 PM: File /opt/build/repo/node_modules/node-gyp/gyp/gyp_main.py, line 16, in
12:47:36 PM: sys.exit(gyp.script_main())
12:47:36 PM: File /opt/build/repo/node_modules/node-gyp/gyp/pylib/gyp/init.py, line 545, in script_main
12:47:36 PM: return main(sys.argv[1:])
12:47:36 PM: File /opt/build/repo/node_modules/node-gyp/gyp/pylib/gyp/init.py, line 538, in main
12:47:36 PM: return gyp_main(args)
12:47:36 PM: File /opt/build/repo/node_modules/node-gyp/gyp/pylib/gyp/init.py, line 514, in gyp_main
12:47:36 PM: options.duplicate_basename_check)
12:47:36 PM: File /opt/build/repo/node_modules/node-gyp/gyp/pylib/gyp/init.py, line 130, in Load
12:47:36 PM: params[‘parallel’], params[‘root_targets’])
12:47:36 PM: File /opt/build/repo/node_modules/node-gyp/gyp/pylib/gyp/input.py, line 2783, in Load
12:47:36 PM: variables, includes, depth, check, True)
12:47:36 PM: File /opt/build/repo/node_modules/node-gyp/gyp/pylib/gyp/input.py, line 399, in LoadTargetBuildFile
12:47:36 PM: includes, True, check)
12:47:36 PM: File /opt/build/repo/node_modules/node-gyp/gyp/pylib/gyp/input.py, line 271, in LoadOneBuildFile
12:47:36 PM: aux_data, includes, check)
12:47:36 PM: File /opt/build/repo/node_modules/node-gyp/gyp/pylib/gyp/input.py, line 308, in LoadBuildFileIncludesIntoDict
12:47:36 PM: LoadOneBuildFile(include, data, aux_data, None, False, check),
12:47:36 PM: File /opt/build/repo/node_modules/node-gyp/gyp/pylib/gyp/input.py, line 251, in LoadOneBuildFile
12:47:36 PM: None)
12:47:36 PM: File /opt/buildhome/.node-gyp/18.17.1/include/node/common.gypi, line 1
12:47:36 PM: ‘uv_library%’: ‘static_library’,
12:47:36 PM: ^
12:47:36 PM: SyntaxError: invalid syntax
12:47:36 PM: gyp ERR! configure error
12:47:36 PM: gyp ERR! stack Error: gyp
failed with exit code: 1
12:47:36 PM: gyp ERR! stack at ChildProcess.onCpExit (/opt/build/repo/node_modules/node-gyp/lib/configure.js:345:16)
12:47:36 PM: gyp ERR! stack at ChildProcess.emit (node:events:514:28)
12:47:36 PM: gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12)
12:47:36 PM: gyp ERR! System Linux 5.4.228-131.415.amzn2.x86_64
12:47:36 PM: gyp ERR! command /opt/buildhome/.nvm/versions/node/v18.17.1/bin/node /opt/build/repo/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
12:47:36 PM: gyp ERR! cwd /opt/build/repo/node_modules/node-sass
12:47:36 PM: gyp ERR! node -v v18.17.1
12:47:36 PM: gyp ERR! node-gyp -v v3.8.0
12:47:36 PM: gyp ERR! not ok
12:47:36 PM: Build failed with error code: 1
12:47:41 PM: Error during Yarn install
12:47:41 PM: Build was terminated: dependency_installation script returned non-zero exit code: 1
12:47:41 PM: Failing build: Failed to install dependencies
12:47:41 PM: Finished processing build request in 30.861s