profile
viewpoint
Christian Clauss cclauss Christian Clauss Switzerland https://www.patreon.com/cclauss Working hard to find and fix bugs in software and to ensure that Python code is properly ported to Python 3. Building related tools and automated systems.

cclauss/500lines 1

500 Lines or Less

cclauss/adapter_pattern 1

Python adapter pattern where adapters are autoloaded from an adapters directory

cclauss/-HACKTOBERFEST2K20 0

Add all sorts of application for hacktoberfest.

cclauss/.github 0

Default configuration for @cclauss repos

cclauss/100-Days-Of-ML-Code 0

100 Days of ML Coding

cclauss/12306 0

12306智能刷票,订票

cclauss/2D_detection 0

TensorFlow implementation of SqueezeDet, trained on the KITTI dataset.

cclauss/30-Days-Of-Python 0

A 30 days of python programming challenge

cclauss/3cardmonte 0

Three card money game using Pythonista scene model

cclauss/3d-photo-inpainting 0

[CVPR 2020] 3D Photography using Context-aware Layered Depth Inpainting

push eventnodejs/node-v8

Rich Trott

commit sha 4a741b8dc2c19efcef49ca39362bb7126d80a3d1

tls: permit null as a cipher value Allow null along with undefined for cipher value. Fixes: https://github.com/nodejs/node/issues/36292 PR-URL: https://github.com/nodejs/node/pull/36318 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>

view details

Benjamin Gruenbaum

commit sha ef8d0e9798d3e6412ad5f8417a32275d8181bbe7

events: support signal in EventTarget PR-URL: https://github.com/nodejs/node/pull/36258 Fixes: https://github.com/nodejs/node/issues/36073 Reviewed-By: James M Snell <jasnell@gmail.com>

view details

Rich Trott

commit sha c91e608a7d3535990b473be86cda9e601be07a9c

test: fix test-worker-broadcastchannel-wpt Optimistic possible fix for a broken test on Windows. PR-URL: https://github.com/nodejs/node/pull/36353 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>

view details

Antoine du Hamel

commit sha 825029ec59a6ee83d15442fbd980d70b1c9abeb5

repl: refactor to use more primordials PR-URL: https://github.com/nodejs/node/pull/36264 Reviewed-By: Rich Trott <rtrott@gmail.com>

view details

Antoine du Hamel

commit sha f066ae4dd86b60ea2938fb5c21928bdf59f1340f

tls: refactor to use more primordials PR-URL: https://github.com/nodejs/node/pull/36266 Reviewed-By: Rich Trott <rtrott@gmail.com>

view details

Antoine du Hamel

commit sha 325a1fcd64f3de9bcd98b195ba3de9b973056f2f

worker: refactor to use more primordials PR-URL: https://github.com/nodejs/node/pull/36267 Reviewed-By: Rich Trott <rtrott@gmail.com>

view details

Antoine du Hamel

commit sha 187a862d221dec42fa9a5c4214e7034d9092792f

path: refactor to use more primordials PR-URL: https://github.com/nodejs/node/pull/36302 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>

view details

Antoine du Hamel

commit sha 99f61677a99e115297953f236866149a11aa315b

benchmark,child_process: remove failing benchmark parameter A 16 MiB strings seems to be too large to be send to the parent process, making the whole benchmark throws. PR-URL: https://github.com/nodejs/node/pull/36295 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>

view details

Daniel Bevenius

commit sha 393a1feeee69c6fb1a66d2abb4ad070a49ee3850

src: use transferred consistently This commit updates usages of transfered to be transferred to make it consist in all comments. PR-URL: https://github.com/nodejs/node/pull/36340 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yuta Hiroto <hello@hiroppy.me>

view details

Node.js Jenkins CI

commit sha a67cb8c263639b24c74c16e1c8553b2eb430b222

doc: update README for node-v8 repository

view details

Node.js Jenkins CI

commit sha d35aa7ffa36edf93ca7da3309032409dd3905d51

deps: update V8 to 8.9.89

view details

Node.js Jenkins CI

commit sha 84aceabfe32484f6daa8436970e8e6e96400e3a0

build: reset embedder string to "-node.0"

view details

Refael Ackermann

commit sha 1c80339e522e6451e267874610fe566819567e33

deps: V8: un-cherry-pick bd019bd Original commit message: [testrunner] delete ancient junit compatible format support Testrunner has ancient support for JUnit compatible XML output. This CL removes this old feature. R=mstarzinger@chromium.org,jgruber@chromium.org,jkummerow@chromium.org CC=​machenbach@chromium.org Bug: v8:8728 Change-Id: I7e1beb011dbaec3aa1a27398a5c52abdd778eaf0 Reviewed-on: https://chromium-review.googlesource.com/c/1430065 Reviewed-by: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Commit-Queue: Tamer Tas <tmrts@chromium.org> Cr-Commit-Position: refs/heads/master@{#59045} Refs: https://github.com/v8/v8/commit/bd019bdb725cebaa34327634d73936cd7003d17c PR-URL: https://github.com/nodejs/node/pull/32116 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>

view details

Ujjwal Sharma

commit sha 032b53dfdeee449bdca5a480b68992d02cd475fc

deps: patch V8 to run on older XCode versions Patch V8 (compiler/js-heap-broker.cc) to remove the use of an optional property, which is a fairly new C++ feature, since that requires a newer XCode version than the minimum requirement in BUILDING.md and thus breaks CI. PR-URL: https://github.com/nodejs/node/pull/32116 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>

view details

Refael Ackermann

commit sha 0f34928fa1fec2e13e5418efdb3c9e7521ee224c

deps: V8: patch register-arm64.h Fixes a compilation issue on some platforms PR-URL: https://github.com/nodejs/node/pull/32116 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>

view details

Refael Ackermann

commit sha ce4f2b5506693e251476b5cc351e58a1b88c1f4d

deps: V8: forward declaration of `Rtl*FunctionTable` This should be semver-patch since actual invocation is version conditional. PR-URL: https://github.com/nodejs/node/pull/32116 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>

view details

Joao Reis

commit sha 97dd747f48d50027cf8b6a8b21d647dda544283d

deps: make v8.h compatible with VS2015 There is a bug in the most recent version of VS2015 that affects v8.h and therefore prevents compilation of addons. Refs: https://stackoverflow.com/q/38378693 PR-URL: https://github.com/nodejs/node/pull/32116 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>

view details

Matheus Marchini

commit sha a595d351a75d2bbc767c6e3980d8b2ce4d08e7cb

deps: patch V8 to run on Xcode 8 Patch V8 (wasm/wasm-module.cc) to remove const qualifier from type passed to template call of `OwnedVector::Of`. Xcode 8 can't convert 'OwnedVector<unsigned char>' to 'OwnedVector<const unsigned char>' when returning from a function (which is likely a bug on Xcode, considering this worked on the prior version of Xcode as well as newer versions). This workaround shouldn't affect the application, since the const qualifier is preserved in the AsmJsOffsetInformation::encoded_offset_. There's also a V8 test passing a const-qualified type to ::Of, but since we don't test V8 on Xcode 8, it should be fine to leave it as is. Signed-off-by: Matheus Marchini <mmarchini@netflix.com> PR-URL: https://github.com/nodejs/node/pull/32116 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>

view details

cjihrig

commit sha 4caec9bf417cdc7fabee6ca0c4f0fafbbc200856

deps: update V8 postmortem metadata script This commit updates V8's gen-postmortem-metadata.py script to fix SmartOS compilation for V8 8.4. PR-URL: https://github.com/nodejs/node/pull/33579 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com>

view details

cjihrig

commit sha d7b12ca333ff3cfcd1f27757c7c9c2afceba84d7

deps: update V8 postmortem metadata script This commit updates V8's gen-postmortem-metadata.py script to fix SmartOS compilation with V8 8.5. PR-URL: https://github.com/nodejs/node/pull/35415 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>

view details

push time in 3 hours

startedadamian98/pulse

started time in 9 hours

fork floryhyy/Python2-and-Python3-in-Docker

Creates a single Docker container that lets your run both Python 2.7.13 and Python 3.6.0

fork in 12 hours

PublicEvent

issue openedOpen-Book-Genome-Project/TheBestBookOn.com

Grant ability to add variable number of candidate books when submitting recommendations

It was decided during design discussions that recommenders provide at least one comparable candidate book on submission of a recommendation. Currently the UI has two fields for candidates, and I believe that the back-end expects three candidates on submit (more details on this in issue #35). This poses problems for folks that want to include more than two candidate works in a recommendation, and may be confusing for people that only want to include one.

Proposed enhancements to solve these problems:

  1. Display only one candidate field initially with an "Add" button.
  2. When a work is added, it will appear below the field in a list of candidate books.
  3. Each list item can be easily removed, just in case it was added in error.
  4. Make back-end changes to allow for a variable amount of candidate works.

It would also be worthwhile to add front-end validation to ensure that at least one candidate is present on submission.

created time in 16 hours

issue commentnodejs/node-gyp

node-gyp configure fails on Windows

gyp: binding.gyp not found (cwd: C:\code\bejebeje.identity\Bejebeje.Identity) while trying to load binding.gyp

The thing you are trying to build is not properly configured to be built by node-gyp, or maybe you are running node-gyp in the wrong directory.

JwanKhalaf

comment created time in a day

issue commentnodejs/node-gyp

Problem with node pre-gyp while npm install firebase

In my case, I rely on a github action to handle the build and deploy (through firebase-action). I fixed this error by changing from the install step from npm install to npm install && npm install firebase

JulienYenne

comment created time in a day

issue commentnodejs/node-gyp

AttributeError: 'MSVSProject' object has no attribute 'items'

On Windows setting the Python Version to 2.71.18 or 3.9 did not work. Tried both.

thdk

comment created time in a day

fork binnes/terraform-tools-dashboard

Terraform module to deploy the Developer Dashboard

fork in a day

fork binnes/terraform-tools-argocd

Terraform module for ArgoCD operator install

fork in a day

fork binnes/ibm-garage-iteration-zero

Iteration Zero terraform scripts for IBM Cloud provisioned services and clusters

fork in a day

PR closed cclauss/pythonista-module-versions

Update reportlab to 3.5.55

This PR updates reportlab from 3.1.8 to 3.5.55.

The bot wasn't able to find a changelog for this release. Got an idea?

<details> <summary>Links</summary>

  • PyPI: https://pypi.org/project/reportlab
  • Homepage: http://www.reportlab.com/ </details>
+1 -1

1 comment

1 changed file

pyup-bot

pr closed time in a day

pull request commentcclauss/pythonista-module-versions

Update reportlab to 3.5.55

Closing this in favor of #584

pyup-bot

comment created time in a day

PR opened cclauss/pythonista-module-versions

Update reportlab to 3.5.56

This PR updates reportlab from 3.1.8 to 3.5.56.

The bot wasn't able to find a changelog for this release. Got an idea?

<details> <summary>Links</summary>

  • PyPI: https://pypi.org/project/reportlab
  • Homepage: http://www.reportlab.com/ </details>
+1 -1

0 comment

1 changed file

pr created time in a day

push eventnodejs/node-v8

inokawa

commit sha 976d6a9ebdf4d3bb6b3f368b65698222911c2586

test: fix typo in comment PR-URL: https://github.com/nodejs/node/pull/36312 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>

view details

Antoine du Hamel

commit sha e6e708400b600edf3108b725168ba9b35f6864c2

os: refactor to use more primordials PR-URL: https://github.com/nodejs/node/pull/36284 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>

view details

Antoine du Hamel

commit sha dbfb10dd36745f0ea410d01d0fb4bedc7d04662a

v8: refactor to use more primordials PR-URL: https://github.com/nodejs/node/pull/36285 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>

view details

Antoine du Hamel

commit sha 1d82d1e56623554077ff001eaae0e2d50af36c62

perf_hooks: refactor to use more primordials PR-URL: https://github.com/nodejs/node/pull/36297 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>

view details

David Halls

commit sha 83166fb86cda91cbe2a8c126698419f51c063910

http2: check write not scheduled in scope destructor Fixes: https://github.com/nodejs/node/issues/33156 PR-URL: https://github.com/nodejs/node/pull/36241 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>

view details

bcoe

commit sha 09fd8f13c87a455c833e83f494616d6cc774aafa

errors: display original symbol name If symbol names array has been populated in source map, include original symbol name in error message. Fixes https://github.com/nodejs/node/issues/35325 PR-URL: https://github.com/nodejs/node/pull/36042 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>

view details

James M Snell

commit sha 9e446b3e9f8c8aa0dcfb974f306504f307b8fac2

worker: add experimental BroadcastChannel Signed-off-by: James M Snell <jasnell@gmail.com> PR-URL: https://github.com/nodejs/node/pull/36271 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>

view details

Antoine du Hamel

commit sha 7d45dd9aa3b0181263761eb800462bafd55d8521

buffer: refactor to use more primordials PR-URL: https://github.com/nodejs/node/pull/36166 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>

view details

Benjamin Gruenbaum

commit sha 780fcb42496f9a1c182597dda92d12f0c7a0c7a6

https: add abortcontroller test PR-URL: https://github.com/nodejs/node/pull/36307 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>

view details

Benjamin Gruenbaum

commit sha 1ed72f67f5ea82b36b8589e447619e98c004fa12

timers: reject with AbortError on cancellation PR-URL: https://github.com/nodejs/node/pull/36317 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com>

view details

Node.js Jenkins CI

commit sha 84e8831f28661ff14ad4d03bd3074467802017eb

doc: update README for node-v8 repository

view details

Node.js Jenkins CI

commit sha cf95f0bad6ba34fe28eef2576fc90a8f7ed2dbc1

deps: update V8 to 8.9.75

view details

Node.js Jenkins CI

commit sha 3e421761c8786e569ecde40c23b40996aaab3fdd

build: reset embedder string to "-node.0"

view details

Refael Ackermann

commit sha bab30baf692b5ada3e817e47680c73ccb62fcd30

deps: V8: un-cherry-pick bd019bd Original commit message: [testrunner] delete ancient junit compatible format support Testrunner has ancient support for JUnit compatible XML output. This CL removes this old feature. R=mstarzinger@chromium.org,jgruber@chromium.org,jkummerow@chromium.org CC=​machenbach@chromium.org Bug: v8:8728 Change-Id: I7e1beb011dbaec3aa1a27398a5c52abdd778eaf0 Reviewed-on: https://chromium-review.googlesource.com/c/1430065 Reviewed-by: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Commit-Queue: Tamer Tas <tmrts@chromium.org> Cr-Commit-Position: refs/heads/master@{#59045} Refs: https://github.com/v8/v8/commit/bd019bdb725cebaa34327634d73936cd7003d17c PR-URL: https://github.com/nodejs/node/pull/32116 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>

view details

Ujjwal Sharma

commit sha b6a1c82c03d8f640fa004e18f44427c50d9c5551

deps: patch V8 to run on older XCode versions Patch V8 (compiler/js-heap-broker.cc) to remove the use of an optional property, which is a fairly new C++ feature, since that requires a newer XCode version than the minimum requirement in BUILDING.md and thus breaks CI. PR-URL: https://github.com/nodejs/node/pull/32116 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>

view details

Refael Ackermann

commit sha d0e94e9d7594bef4f30b600b0f54f946260ebe49

deps: V8: patch register-arm64.h Fixes a compilation issue on some platforms PR-URL: https://github.com/nodejs/node/pull/32116 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>

view details

Refael Ackermann

commit sha 3a5c49cfcc8ca1c538a310edd0a352603297602c

deps: V8: forward declaration of `Rtl*FunctionTable` This should be semver-patch since actual invocation is version conditional. PR-URL: https://github.com/nodejs/node/pull/32116 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>

view details

Joao Reis

commit sha 823d122cd4f6bd87d4c3fa3dbbd565e5039c89de

deps: make v8.h compatible with VS2015 There is a bug in the most recent version of VS2015 that affects v8.h and therefore prevents compilation of addons. Refs: https://stackoverflow.com/q/38378693 PR-URL: https://github.com/nodejs/node/pull/32116 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>

view details

Matheus Marchini

commit sha 089019f5bac82c32739a16a3f9441ff9ccb3bb87

deps: patch V8 to run on Xcode 8 Patch V8 (wasm/wasm-module.cc) to remove const qualifier from type passed to template call of `OwnedVector::Of`. Xcode 8 can't convert 'OwnedVector<unsigned char>' to 'OwnedVector<const unsigned char>' when returning from a function (which is likely a bug on Xcode, considering this worked on the prior version of Xcode as well as newer versions). This workaround shouldn't affect the application, since the const qualifier is preserved in the AsmJsOffsetInformation::encoded_offset_. There's also a V8 test passing a const-qualified type to ::Of, but since we don't test V8 on Xcode 8, it should be fine to leave it as is. Signed-off-by: Matheus Marchini <mmarchini@netflix.com> PR-URL: https://github.com/nodejs/node/pull/32116 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>

view details

cjihrig

commit sha fd1496cef1255a341c7af7c5f08634a38af54173

deps: update V8 postmortem metadata script This commit updates V8's gen-postmortem-metadata.py script to fix SmartOS compilation for V8 8.4. PR-URL: https://github.com/nodejs/node/pull/33579 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com>

view details

push time in a day

issue commentnodejs/node-gyp

Upgrading node-gyp independently of npm and handling multiple versions

We could also mention that you can achieve the same thing by setting the env var npm_config_node_gyp=/path/to/node-gyp.js, which is a less permanent solution.

rvagg

comment created time in a day

issue closednodejs/node-gyp

Issue after running npm install "if not defined npm_config_node_gyp"

After I run "npm install" I get these errors, I've ran "npm install --g --production windows-build-tools", I've also deleted node_modules, package-lock.json and installed Visual Studio community 2019 but still have the same issue...

C:\Users\myuser\Documents\GitHub\myRepo\node_modules\snappy> if not defined npm_config_node_gyp "C:\Users\myuser\Documents\GitHub\myRepo\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild )

gyp ERR! find VS gyp ERR! find VS msvs_version not set from command line or npm config gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt gyp ERR! find VS checking VS2019 (16.7.30621.155) found at: gyp ERR! find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community" gyp ERR! find VS - found "Visual Studio C++ core features" gyp ERR! find VS - missing any VC++ toolset gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use gyp ERR! find VS looking for Visual Studio 2015 gyp ERR! find VS - found in "C:\Program Files (x86)\Microsoft Visual Studio 14.0" gyp ERR! find VS - could not find MSBuild in registry for this version gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8 gyp ERR! find VS gyp ERR! find VS ************************************************************** gyp ERR! find VS You need to install the latest version of Visual Studio gyp ERR! find VS including the "Desktop development with C++" workload. gyp ERR! find VS For more information consult the documentation at: gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows gyp ERR! find VS ************************************************************** gyp ERR! find VS gyp ERR! configure error gyp ERR! stack Error: Could not find any Visual Studio installation to use gyp ERR! stack at VisualStudioFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:121:47) gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:74:16 gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:351:14) gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:70:14 gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:384:20 gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\util.js:54:7 gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\util.js:33:16 gyp ERR! stack at ChildProcess.exithandler (child_process.js:315:5) gyp ERR! stack at ChildProcess.emit (events.js:314:20) gyp ERR! stack at maybeClose (internal/child_process.js:1047:16) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\Users\myuser\Documents\GitHub\myRepo\node_modules\node_modules\node\bin\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\myuser\Documents\GitHub\myRepo\node_modules\snappy gyp ERR! node -v v14.10.1 gyp ERR! node-gyp -v v5.1.1 gyp ERR! not ok

68LRN

I've deleted version 2017 so the only version installed on my machine is 2019, please your help!!

Nodejs version that I'm using is: v12.8.1, npm version: 6.10.2, python: 2.7.14

What should I do to remove that error after running "npm install"?

closed time in a day

AndresHMosqueda

issue closednodejs/node-gyp

npm install error

I keep getting this error when I try to npm install. I recently upgraded Node to v14, please help.

`C:\Users\mrrob\OneDrive\Desktop\slime bot\test-slime> npm install

integer@1.0.7 install C:\Users\mrrob\OneDrive\Desktop\slime bot\test-slime\node_modules\integer node-gyp rebuild

C:\Users\mrrob\OneDrive\Desktop\slime bot\test-slime\node_modules\integer>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. integer.cpp win_delay_load_hook.cc c:\users\mrrob\onedrive\desktop\slime bot\test-slime\node_modules\integer\src\integer.cpp(329): error C2664: 'v8::String::Value::Value(const v8::String::Value &)': cannot convert argument 1 from 'v8::Localv8::String' to 'const v8::String::Value &' [C:\Users\mrrob\OneDrive\Desktop\slime bot\test-slime\node_modules\integer\build\integer.vcxproj] c:\users\mrrob\onedrive\desktop\slime bot\test-slime\node_modules\integer\src\integer.cpp(329): note: Reason: cannot convert from 'v8::Localv8::String' to 'const v8::String::Value' c:\users\mrrob\onedrive\desktop\slime bot\test-slime\node_modules\integer\src\integer.cpp(329): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
c:\users\mrrob\onedrive\desktop\slime bot\test-slime\node_modules\integer\src\integer.cpp(370): warning C4804: '-': unsafe use of type 'bool' in operation [C:\Users\mrrob\OneDrive\Desktop\slime bot\test-slime\node_modu les\integer\build\integer.vcxproj] gyp ERR! build error gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) gyp ERR! System Windows_NT 10.0.18363 gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\mrrob\OneDrive\Desktop\slime bot\test-slime\node_modules\integer gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm WARN slime-bot@1.0.0 No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! integer@1.0.7 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the integer@1.0.7 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\mrrob\AppData\Roaming\npm-cache_logs\2020-10-28T02_55_25_069Z-debug.log`

closed time in a day

robinsongz

issue closednodejs/node-gyp

How can I change MSBuild path during initialization ?

  • Node Version: v12.13.1 and 6.1.0
  • Platform: Windows 10
  • Compiler: Visual Studio 2019/msbuild
  • Module: npm install

I am try to install the module and my issue lies that the path of msbuild is incorrect

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\15.0\Bin\MSBuild.exe

instead of above it should be

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe

How can i change the path precisely ?

image

closed time in a day

AramAnd

issue commentnodejs/node-gyp

Invalid version number Electron beta.

@cclauss https://github.com/nodejs/node-gyp/issues/2272

ccorcos

comment created time in a day

issue openednodejs/node-gyp

Upgrading node-gyp independently of npm and handling multiple versions

(This could be made into a top-level doc, or integrated into the README, it comes up enough. Please edit this post or comment below if you have improvement suggestions. If someone wants to turn this into a PR then you're welcome to.)

Wot?

npm ships with its own version of node-gyp. Older versions of npm have older versions of node-gyp. npm has caught up recently to node-gyp's release cycle but it's expected we'll get out of sync and there will be cases where you need an old npm but a newer node-gyp, or npm doesn't ship yet with a node-gyp that we've released and it has fixes you need.

Generally, npm's library files are installed inside your global "node_modules", where npm is installed (run npm prefix and add lib/node_modules, or just node_modules for Windows [I think, Windows person - please confirm and edit this]). There are some exceptions to this. Inside this global node_modules/ there will be an npm/ directory and inside this you'll find a node_modules/node-gyp/ directory. So it may look something like /usr/local/lib/node_modules/npm/node_modules/node-gyp/. This is the version of node-gyp that ships with npm.

When you install a new version of node-gyp with outside of npm, it'll go into your global node_modules, but not under the npm/node_modules. So that may look like /usr/local/lib/node_modules/node-gyp/. It'll have the node-gyp executable linked into your PATH so running node-gyp will use this version.

The catch is that npm won't use this version unless you tell it to, it'll keep on using the one you have installed. You need to instruct it to by setting the node_gyp config variable (which goes into your ~/.npmrc). You do this by running the npm config set command as below. Then npm will use the command in the path you supply whenever it needs to build a native addon.

Important: You also need to remember to unset this when you upgrade npm with a newer version of node-gyp, or you have to manually keep your globally installed node-gyp to date. See "Undo" below.

Linux and macOS

npm install --global node-gyp@latest
npm config set node_gyp $(npm prefix -g)/lib/node_modules/node-gyp/bin/node-gyp.js

sudo may be required for the first command if you get a permission error.

Windows

@joaocgreis' Windows instructions from https://github.com/nodejs/node-gyp/issues/1753#issuecomment-501827267

Windows Command Prompt

npm install --global node-gyp@latest
for /f "delims=" %P in ('npm prefix -g') do npm config set node_gyp "%P\node_modules\node-gyp\bin\node-gyp.js"

Powershell

npm install --global node-gyp@latest
npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"}

Undo

Beware if you don't unset the node_gyp config option, npm will continue to use the globally installed version of node-gyp rather than the one it ships with, which may end up being newer.

npm uninstall --global node-gyp
npm config delete node_gyp

created time in a day

startedwoltapp/blurhash

started time in a day

startedholzschu/a-Shell-commands

started time in a day

issue commentnodejs/node-gyp

make: *** No rule to make target `Release/obj.target/binding/src/binding.o', needed by `Release/binding.node'. Stop.

We're going to need a fair bit more information than this in order to offer any help. Are you attempting to install and compile an addon from npm, or are you writing your own? Can you share any more information about it, maybe your binding.gyp? Do you have the right tools installed (https://github.com/nodejs/node-gyp#on-macos)?

ckhandla94

comment created time in a day

issue closednodejs/node-gyp

package

<!-- Thank you for reporting an issue!

Remember, this issue tracker is for reporting issues ONLY with node-gyp.

If you have an issue installing a specific module, please file an issue on that module's issue tracker (npm issues modulename). Open issue here only if you are sure this is an issue with node-gyp, not with the module you are trying to build.

Fill out the form below. We probably won't investigate an issue that does not provide the basic information we require.

-->

  • Node Version: <!-- node -v and npm -v -->
  • Platform: <!-- uname -a (UNIX), or systeminfo | findstr /B /C:"OS Name" /C:"OS Version" /C:"System Type" (Windows) -->
  • Compiler: <!-- cc -v (UNIX) or msbuild /version & cl (Windows) -->
  • Module: <!-- what you tried to build/install -->

<details><summary>Verbose output (from npm or node-gyp):</summary>

Paste your log here, between the backticks. It can be:
  - npm --verbose output,
  - or contents of npm-debug.log,
  - or output of node-gyp rebuild --verbose.
Include the command you were trying to run.

This should look like this:

>npm --verbose
npm info it worked if it ends with ok
npm verb cli [
npm verb cli   'C:\\...\\node\\13.9.0\\x64\\node.exe',
npm verb cli   'C:\\...\\node\\13.9.0\\x64\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli   '--verbose'
npm verb cli ]
npm info using npm@6.13.7
npm info using node@v13.9.0

Usage: npm <command>
(...)

</details>

<!-- Any further details -->

closed time in a day

eugenbdw

pull request commentnodejs/gyp-next

(xcode) feat: --cross-compiling overrides arch-specific settings

Can we validate this doesn't break existing X-compilatiom of native add-ons as that currently works

For cross compiling on macos? Or in general? Currently the only cross that should be supported on macos (using the xcode path) is i386. But if you're successfully cross compiling anything else on macos then that'd be interesting to hear about! Perhaps I've missed something.

rvagg

comment created time in 2 days

PR closed cclauss/openlibrary

Update jsonpatch to 1.27

This PR updates jsonpatch from 0.4 to 1.27.

The bot wasn't able to find a changelog for this release. Got an idea?

<details> <summary>Links</summary>

  • PyPI: https://pypi.org/project/jsonpatch
  • Repo: https://github.com/stefankoegl/python-json-patch </details>
+1 -1

1 comment

1 changed file

pyup-bot

pr closed time in 2 days

pull request commentcclauss/openlibrary

Update jsonpatch to 1.27

Closing this in favor of #203

pyup-bot

comment created time in 2 days

PR opened cclauss/openlibrary

Update jsonpatch to 1.28

This PR updates jsonpatch from 0.4 to 1.28.

The bot wasn't able to find a changelog for this release. Got an idea?

<details> <summary>Links</summary>

  • PyPI: https://pypi.org/project/jsonpatch
  • Repo: https://github.com/stefankoegl/python-json-patch </details>
+1 -1

0 comment

1 changed file

pr created time in 2 days

more