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

Update dependencies #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update dependencies #1

wants to merge 2 commits into from

Conversation

fand
Copy link

@fand fand commented Mar 29, 2019

Problem

npm install fails in master now..
This package depends on an obsolete version of gl and it throws an error on install.

The error message is as follows:
glsl-token-whitespace-trim git:master ✩  ❯ npm i
npm WARN deprecated standard-format@1.6.10: standard-format is deprecated in favor of a built-in autofixer in 'standard'. Usage: standard --fix
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

> gl@2.1.5 install /Users/amagi/src/github.com/fand/glsl-token-whitespace-trim/node_modules/gl
> prebuild --download

prebuild info begin Prebuild version 2.9.2
prebuild info looking for local prebuild @ prebuilds/gl-v2.1.5-node-v67-darwin-x64.tar.gz
prebuild info looking for cached prebuild @ /Users/amagi/.npm/_prebuilds/https-github.com-stackgl-headless-gl-releases-download-v2.1.5-gl-v2.1.5-node-v67-darwin-x64.tar.gz
prebuild http request GET https://github.com/stackgl/headless-gl/releases/download/v2.1.5/gl-v2.1.5-node-v67-darwin-x64.tar.gz
prebuild http 404 https://github.com/stackgl/headless-gl/releases/download/v2.1.5/gl-v2.1.5-node-v67-darwin-x64.tar.gz
prebuild WARN install Prebuilt binaries for node version 0.10.40,0.12.7,1.0.4,1.8.4,2.4.0,3.3.1,4.1.1 are not available
prebuild info install We will now try to compile from source.
prebuild verb starting node-gyp process
prebuild verb execute node-gyp with `node index.js rebuild --target=0.10.40,0.12.7,1.0.4,1.8.4,2.4.0,3.3.1,4.1.1 --target_arch=x64`
prebuild verb ok
prebuild verb ok
prebuild ERR! configure error
prebuild ERR! stack Error: Invalid version number: 0.10.40,0.12.7,1.0.4,1.8.4,2.4.0,3.3.1,4.1.1
prebuild ERR! stack     at getNodeDir (/Users/amagi/src/github.com/fand/glsl-token-whitespace-trim/node_modules/node-gyp/lib/configure.js:72:25)
prebuild ERR! stack     at PythonFinder.callback (/Users/amagi/src/github.com/fand/glsl-token-whitespace-trim/node_modules/node-gyp/lib/configure.js:44:7)
prebuild ERR! stack     at PythonFinder.<anonymous> (/Users/amagi/src/github.com/fand/glsl-token-whitespace-trim/node_modules/node-gyp/lib/configure.js:471:14)
prebuild ERR! stack     at ChildProcess.exithandler (child_process.js:288:7)
prebuild ERR! stack     at ChildProcess.emit (events.js:197:13)
prebuild ERR! stack     at maybeClose (internal/child_process.js:988:16)
prebuild ERR! stack     at Socket.stream.socket.on (internal/child_process.js:404:11)
prebuild ERR! stack     at Socket.emit (events.js:197:13)
prebuild ERR! stack     at Pipe._handle.close (net.js:611:12)
prebuild ERR! not ok
prebuild ERR! build Error: Invalid version number: 0.10.40,0.12.7,1.0.4,1.8.4,2.4.0,3.3.1,4.1.1
prebuild ERR! build     at getNodeDir (/Users/amagi/src/github.com/fand/glsl-token-whitespace-trim/node_modules/node-gyp/lib/configure.js:72:25)
prebuild ERR! build     at PythonFinder.callback (/Users/amagi/src/github.com/fand/glsl-token-whitespace-trim/node_modules/node-gyp/lib/configure.js:44:7)
prebuild ERR! build     at PythonFinder.<anonymous> (/Users/amagi/src/github.com/fand/glsl-token-whitespace-trim/node_modules/node-gyp/lib/configure.js:471:14)
prebuild ERR! build     at ChildProcess.exithandler (child_process.js:288:7)
prebuild ERR! build     at ChildProcess.emit (events.js:197:13)
prebuild ERR! build     at maybeClose (internal/child_process.js:988:16)
prebuild ERR! build     at Socket.stream.socket.on (internal/child_process.js:404:11)
prebuild ERR! build     at Socket.emit (events.js:197:13)
prebuild ERR! build     at Pipe._handle.close (net.js:611:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! gl@2.1.5 install: `prebuild --download`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the gl@2.1.5 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!     /Users/amagi/.npm/_logs/2019-03-29T15_07_02_498Z-debug.log
 ⌚︎ 16s

Changes

  • Updated gl to the latest one
  • Updated other libraries (standard and tap-spec)
  • Fixed warnings by standard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant