package.json file:
{
"engines": {
"composer": "^0.17.1"
},
"name": "block-network",
"version": "0.0.1",
"description": "Business Network",
"scripts": {
"pretest": "npm run lint",
"lint": "eslint .",
"postlicchk": "npm run doc",
"doc": "jsdoc --pedantic --recurse -c jsdoc.json",
"test": "mocha -t 0 --recursive",
"deploy": "./scripts/deploy.sh"
},
"author": "Simon Mullaney",
"email": "",
"license": "Apache-2.0",
"devDependencies": {
"browserfs": "^1.2.0",
"chai": "latest",
"composer-common": "^0.17.1",
"composer-playground-api": "^0.17.1",
"composer-admin": "^0.17.1",
"composer-client": "^0.17.1",
"composer-connector-embedded": "^0.17.1",
"composer-connector-hlfv1": "^0.17.1",
"composer-connector-proxy": "^0.17.1",
"composer-connector-server": "^0.17.1",
"composer-runtime-embedded": "^0.17.1",
"composer-connector-web": "^0.17.1",
"composer-runtime": "^0.17.1",
"composer-runtime-web": "^0.17.1",
"eslint": "latest",
"istanbul": "latest",
"jsdoc": "latest",
"mkdirp": "latest",
"mocha": "latest",
"moment": "latest",
"sinon": "latest"
},
"license-check-config": {
"src": [
"**/*.js",
"!./coverage/**/*",
"!./node_modules/**/*",
"!./out/**/*",
"!./scripts/**/*"
],
"path": "header.txt",
"blocking": true,
"logInfo": false,
"logError": true
},
"dependencies": {
"es6-promise": "latest",
"opentracing": "^0.14.1",
"passport-github": "^1.1.0"
}
}
I used the following commands to update my environment:
npm install -g composer-cli@next
npm install -g composer-rest-server@next
npm install -g generator-hyperledger-composer@next
I am getting this error:
Connection fails: Error: Failed to load connector module "composer-connector-undefined" for connection type "undefined".