xeoshow
February 13, 2022, 1:12pm
1
Hello,
I am trying to install 5.0.0-beta.7 on a refresh machine, but got below error, no idea why the error will occur and how to resolve? Thanks v much.
===
Could not install from βnode_modules/mongodb-runner/mongodb-tools@github:mongodb-js/mongodb-tools#0d1a90f49796c41f6d47c7c7999fe384014a16a0β as it does not contain a package.json file.
Whatβs the version and npm that you are using?
xeoshow
February 26, 2022, 10:00am
3
Hi @davimacedo ,
I used node-v14.16.0-linux-x64 on centOS 7.6 64bit and the npm version is 6.14.11, the nodejs version is v14.16.0, or what version should I use? Thanks a lot.
Node > 12 should be fine. Would you mind to share the complete npm log?
Hi @davimacedo ,
Seems the error got changed, not sure why:
Not sure how to upload the whole log text file, so paste the main error log as below:
1862 http fetch GET 200 https://registry.npmjs.org/mongodb-download-url/-/mongodb-download-url-1.1.2.tgz 282ms
1863 silly pacote version manifest for [email protected] fetched in 1402ms
1864 silly pacote version manifest for [email protected] fetched in 1ms
1865 silly pacote version manifest for [email protected] fetched in 0ms
1866 silly pacote version manifest for [email protected] fetched in 0ms
1867 http fetch GET 200 https://registry.npmjs.org/mongodb-runner 1439ms
1868 http fetch GET 200 https://registry.npmjs.org/mongodb-runner/-/mongodb-runner-4.8.1.tgz 278ms
1869 silly pacote version manifest for [email protected] fetched in 1721ms
1870 http fetch GET 200 https://registry.npmjs.org/mongodb-tools 290ms
1871 silly fetchPackageMetaData error for [email protected] No matching version found for [email protected] .
1872 timing stage:rollbackFailedOptional Completed in 1ms
1873 timing stage:runTopLevelLifecycles Completed in 851053ms
1874 silly saveTree [email protected]
1874 silly saveTree βββ¬ @volcengine/[email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree βββ [email protected]
1874 silly saveTree βββ¬ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree βββ¬ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree βββ¬ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree βββ¬ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree βββ [email protected]
1874 silly saveTree βββ¬ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree βββ¬ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β β βββ¬ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β β βββ¬ [email protected]
1874 silly saveTree β β β β βββ [email protected]
1874 silly saveTree β β β β βββ¬ [email protected]
1874 silly saveTree β β β β β βββ [email protected]
1874 silly saveTree β β β β βββ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree βββ¬ [email protected]
1874 silly saveTree β βββ¬ @eslint/[email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ¬ @humanwhocodes/[email protected]
1874 silly saveTree β β βββ @humanwhocodes/[email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β β βββ¬ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree βββ [email protected]
1874 silly saveTree βββ¬ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree βββ [email protected]
1874 silly saveTree βββ¬ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree βββ¬ [email protected]
1874 silly saveTree βββ [email protected]
1874 silly saveTree βββ¬ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β β βββ¬ [email protected]
1874 silly saveTree β β β β βββ [email protected]
1874 silly saveTree β β β βββ¬ [email protected]
1874 silly saveTree β β β βββ¬ [email protected]
1874 silly saveTree β β β β βββ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β β βββ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree βββ¬ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree βββ¬ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree βββ [email protected]
1874 silly saveTree βββ [email protected]
1874 silly saveTree βββ¬ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree β βββ¬ [email protected]
1874 silly saveTree β β βββ [email protected]
1874 silly saveTree β βββ [email protected]
1874 silly saveTree βββ¬ [email protected]
1874 silly saveTree βββ [email protected]
1874 silly saveTree βββ [email protected]
1875 verbose type version
1876 verbose stack mongodb-tools: No matching version found for [email protected] .
1876 verbose stack at pickManifest (/home/nodejs/node-v14.16.0-linux-x64/lib/node_modules/npm/node_modules/npm-pick-manifest/index.js:122:13)
1876 verbose stack at /home/nodejs/node-v14.16.0-linux-x64/lib/node_modules/npm/node_modules/pacote/lib/fetchers/registry/manifest.js:24:14
1876 verbose stack at tryCatcher (/home/nodejs/node-v14.16.0-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
1876 verbose stack at Promise._settlePromiseFromHandler (/home/nodejs/node-v14.16.0-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:517:31)
1876 verbose stack at Promise._settlePromise (/home/nodejs/node-v14.16.0-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:574:18)
1876 verbose stack at Promise._settlePromise0 (/home/nodejs/node-v14.16.0-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:619:10)
1876 verbose stack at Promise._settlePromises (/home/nodejs/node-v14.16.0-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:699:18)
1876 verbose stack at _drainQueueStep (/home/nodejs/node-v14.16.0-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:138:12)
1876 verbose stack at _drainQueue (/home/nodejs/node-v14.16.0-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:131:9)
1876 verbose stack at Async._drainQueues (/home/nodejs/node-v14.16.0-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:147:5)
1876 verbose stack at Immediate.Async.drainQueues [as _onImmediate] (/home/nodejs/node-v14.16.0-linux-x64/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:17:14)
1876 verbose stack at processImmediate (internal/timers.js:461:21)
1877 verbose cwd /usr/local/project
1878 verbose Linux 3.10.0-1160.15.2.el7.x86_64
1879 verbose argv "/home/nodejs/node-v14.16.0-linux-x64/bin/node" "/usr/local/bin/npm" "install"
1880 verbose node v14.16.0
1881 verbose npm v6.14.11
1882 error code ETARGET
1883 error notarget No matching version found for [email protected] .
1884 error notarget In most cases you or one of your dependencies are requesting
1884 error notarget a package version that doesn't exist.
1885 verbose exit [ 1, true ]
Would you mind to share your package.json?
Hi @davimacedo ,
package.json as below, our project is based from parse-server-example. Thanks a lot.
{
"name": "parse-server-example",
"version": "1.4.0",
"description": "An example Parse API server using the parse-server module",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/ParsePlatform/parse-server-example"
},
"license": "MIT",
"dependencies": {
"@volcengine/openapi": "^1.1.2",
"axios": "^0.25.0",
"baidu-aip-sdk": "^2.0.0",
"body-parser": "^1.19.1",
"bull": "^4.5.1",
"compression": "^1.7.4",
"dayjs": "^1.10.7",
"esm": "file://./esm-3.x.x-pr883.tgz",
"ffmpeg-concat": "^1.3.3",
"fluent-ffmpeg": "^2.1.2",
"form-data": "^4.0.0",
"generate-schema": "^2.6.0",
"multer": "^1.4.4",
"nanoid": "^3.2.0",
"parse-server": "5.0.0-beta.7",
"pinyin-pro": "^3.7.1",
"redis": "^4.0.3",
"text-to-svg": "^3.1.5"
},
"scripts": {
"prepare": "husky install",
"start": "node -r esm index.js",
"lint": "eslint .",
"lint-fix": "eslint --fix --cache .",
"test": "mongodb-runner start && jasmine",
"coverage": "nyc jasmine"
},
"engines": {
"node": ">=4.3"
},
"devDependencies": {
"eslint": "^8.7.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.25.4",
"husky": "^7.0.4",
"jasmine": "3.6.4",
"mongodb-runner": "4.8.1",
"nyc": "15.1.0",
"prettier": "2.2.1"
}
}
Can you try with npm install --only=prod
? It looks that the problem is mongodb-runner (only required on development), which is requiring a specific GitHub commit of mongoldb-tools: runner/package.json at master Β· mongodb-js/runner Β· GitHub
This version is 1.2.0 but it is not published to npm. Npm should be installing from GitHub though, but for some reason on centos it is trying to install from npm.
1 Like