I'm trying to run npm install from management API
https://api.enterprise.apigee.com/v1/o/maf-holding/apis/DKInternal-Share-Hosted/revisions/23/npm
In the body I have
command=install
In the headers I have
Content-Type: application/x-www-form-urlencoded
I'm getting 500 with the following
npm ERR! install Couldn't read dependencies npm ERR! Trireme Trireme npm ERR! argv "./node" "/opt/apigee/edge-management-server-20.01.06-0.0.20373/lib/node_modules/npm/cli.js" "install" "--loglevel" "error" "--registry" "https://registry.npmjs.org/" "--cache" "/opt/apigee/var/log/edge-management-server/work/npm-cache" "--ignore-scripts" "true" "--bin-links" "false" "--json" "--production" npm ERR! node v0.10.32 npm ERR! npm v2.14.1 npm ERR! path /opt/apigee/var/log/edge-management-server/work/npm/npm7534769835138037966.tmp/package.json npm ERR! code ENOPACKAGEJSON npm ERR! errno -2 npm ERR! package.json ENOENT:/opt/apigee/var/log/edge-management-server/work/npm/npm7534769835138037966.tmp/package.json npm ERR! package.json This is most likely not a problem with npm itself. npm ERR! package.json npm can't find a package.json file in your current directory. npm ERR! Please include the following file with any support request: npm ERR! /opt/apigee/var/log/edge-management-server/work/npm/npm7534769835138037966.tmp/npm-debug.log
Trireme is no longer supported on Apigee SaaS.
Are you following along in a posted tutorial? If that's so, the tutorial appears to be out of date. If you can post the link, we will have it updated.
If you are using a Hosted target, then there is no need for you to run npm install.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |