Sunday, 6 September 2020

Is this package.json file okay ?

I am trying to work with google cloud functions. Loading a certain package.json file, one particular dependency just would not install. { "name": "sheets", "version": "0.0.55", "dependencies": { "jgeoip": "^0.3.3", "lighthouse": "^6.3.0", "puppeteer": "^5.2.1", "request": "^2.88.2", "googleapis": "^39.2.0" } } PS D:\Downloads\dfs> npx @google-cloud/functions-framework npx: installed 52 in 4.448s Provided module can't be loaded. Did you list all required modules in the package.json dependencies? Detailed stack trace: Error: Cannot find module 'jgeoip'I have run this job before and now it doesn't. not locally via npx or live on google cloud. The package in question: https://www.npmjs.com/package/jgeoip

Submitted September 06, 2020 at 01:54PM by gyaani_guy

No comments:

Post a Comment