cordova-plugin-background-geolocation-example icon indicating copy to clipboard operation
cordova-plugin-background-geolocation-example copied to clipboard

Could not install from "@mauron85/cordova-plugin-background-geolocation@~3.1.0" as it does not contain a package.json file.

Open mitLinkwok opened this issue 5 years ago • 2 comments

{ Error: npm: Command failed with exit code 1 Error output: npm ERR! code ENOLOCAL npm ERR! Could not install from "@mauron85/cordova-plugin-background-geolocation@~3.1.0" as it does not contain a package.json file.

npm ERR! A complete log of this run can be found in: npm ERR! /home/mit/.npm/_logs/2020-01-30T09_33_11_614Z-debug.log at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-common/src/superspawn.js:135:23) at ChildProcess.emit (events.js:198:13) at maybeClose (internal/child_process.js:982:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) stderr: 'npm ERR! code ENOLOCAL\nnpm ERR! Could not install from "@mauron85/cordova-plugin-background-geolocation@~3.1.0" as it does not contain a package.json file.\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR!

mitLinkwok avatar Jan 30 '20 09:01 mitLinkwok

I have same problem. How can you solve it?

giuliastully avatar May 11 '20 11:05 giuliastully

hello @giuliastully @mitLinkwok i just found the solution here

hatimox avatar May 15 '20 04:05 hatimox