-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
Hi,
I would like to try your package but I encountered an configure error when I try to install him.
gyp ERR! stack Error: 'gyp' failed with exit code: 1
The cli commands work but not the projects generated. When the server is started, he doesn't find her dependencies.
Error: Cannot find module 'gl-vec2' from '/Users/jboulay/.nvm/versions/node/v7.4.0/lib/node_modules/penplot/util'
I tried some things without success :
npm installmanually into the penplot package.- use
penplotinto a local npm project and try to install the missing dependencies. - following this node-gyp issue #809, remove the
.node-gyp/directory. - ...
node version
7.4.0
npm version
5.2.0
Complete stack trace :
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EINTEGRITY: sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM= integrity checksum failed when using sha1: wanted sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM= but got sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==. (11423 bytes)
WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation.
/Users/jboulay/.nvm/versions/node/v7.4.0/bin/penplot -> /Users/jboulay/.nvm/versions/node/v7.4.0/lib/node_modules/penplot/bin/index.js
> canvas@1.6.5 install /Users/jboulay/.nvm/versions/node/v7.4.0/lib/node_modules/penplot/node_modules/canvas
> node-gyp rebuild
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
./util/has_lib.sh: line 31: pkg-config: command not found
gyp: Call to './util/has_lib.sh freetype' returned exit status 0 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/Users/jboulay/.nvm/versions/node/v7.4.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 15.6.0
gyp ERR! command "/Users/jboulay/.nvm/versions/node/v7.4.0/bin/node" "/Users/jboulay/.nvm/versions/node/v7.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/jboulay/.nvm/versions/node/v7.4.0/lib/node_modules/penplot/node_modules/canvas
gyp ERR! node -v v7.4.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
> fsevents@1.1.2 install /Users/jboulay/.nvm/versions/node/v7.4.0/lib/node_modules/penplot/node_modules/fsevents
> node install
[fsevents] Success: "/Users/jboulay/.nvm/versions/node/v7.4.0/lib/node_modules/penplot/node_modules/fsevents/lib/binding/Release/node-v51-darwin-x64/fse.node" is installed via remote
npm WARN mapify@0.1.0 requires a peer of browserify@>=3.28.0 <=4.x but none was installed.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@1.6.5 (node_modules/penplot/node_modules/canvas):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@1.6.5 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
+ penplot@1.1.1
added 641 packages in 14.443sMetadata
Metadata
Assignees
Labels
No labels