Cannot have `duniter` without `node-pre-gyp` module
For example, this package.json does not work with yarn
:
{
"name": "hello-from-duniter",
"version": "1.0.1",
"main": "index.js",
"license": "MIT",
"dependencies": {
"duniter": "1.2.x"
}
}
$ yarn
yarn install v0.24.5
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
error Couldn't find a package.json file in "/home/cgeek/dev/hello-from-duniter/node_modules/naclb/node_modules/node-pre-gyp"
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
The problem seems fixed in recent updates of node-pre-gyp
: https://github.com/mapbox/node-pre-gyp/issues/262