We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installed the package via npm npm install preciselyapis-client
npm install preciselyapis-client
when we tried to run the node script we would get this error:
{ "errorType": "Runtime.ImportModuleError", "errorMessage": "Error: Cannot find module 'preciselyapis-client'\nRequire stack:\n- /var/task/app.js\n- /var/runtime/UserFunction.js\n- /var/runtime/index.js", "stack": [ "Runtime.ImportModuleError: Error: Cannot find module 'preciselyapis-client'", "Require stack:", "- /var/task/app.js", "- /var/runtime/UserFunction.js", "- /var/runtime/index.js", " at _loadUserApp (/var/runtime/UserFunction.js:100:13)", " at Object.module.exports.load (/var/runtime/UserFunction.js:140:17)", " at Object.<anonymous> (/var/runtime/index.js:43:30)", " at Module._compile (internal/modules/cjs/loader.js:1137:30)", " at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)", " at Module.load (internal/modules/cjs/loader.js:985:32)", " at Function.Module._load (internal/modules/cjs/loader.js:878:14)", " at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)", " at internal/main/run_main_module.js:17:47" ] }
after debugging we noticed that package.json has main pointing to api.js but that file is not included as part of the npm package.
package.json
api.js
We were able to get around the issue by downloading the github repo, manually building the files and copying them into our project.
Please include the built files as part of the published npm package.
The text was updated successfully, but these errors were encountered:
Included the package api.js and fixed the aforementioned issue.
Please use the updated SDK.
For any info, please let us know. Thanks
Sorry, something went wrong.
No branches or pull requests
Installed the package via npm
npm install preciselyapis-client
when we tried to run the node script we would get this error:
after debugging we noticed that
package.json
has main pointing toapi.js
but that file is not included as part of the npm package.We were able to get around the issue by downloading the github repo, manually building the files and copying them into our project.
Please include the built files as part of the published npm package.
The text was updated successfully, but these errors were encountered: