René's URL Explorer Experiment


Title: Function Docker Image: ERR_INVALID_ARG_TYPE · Issue #774 · serverless/serverless-python-requirements · GitHub

Open Graph Title: Function Docker Image: ERR_INVALID_ARG_TYPE · Issue #774 · serverless/serverless-python-requirements

X Title: Function Docker Image: ERR_INVALID_ARG_TYPE · Issue #774 · serverless/serverless-python-requirements

Description: Are you certain it's a bug? Yes, it looks like a bug Is the issue caused by a plugin? It is not a plugin issue Are you using the latest v3 release? Yes, I'm using the latest v3 release Is there an existing issue for this? I have searched...

Open Graph Description: Are you certain it's a bug? Yes, it looks like a bug Is the issue caused by a plugin? It is not a plugin issue Are you using the latest v3 release? Yes, I'm using the latest v3 release Is there an ...

X Description: Are you certain it's a bug? Yes, it looks like a bug Is the issue caused by a plugin? It is not a plugin issue Are you using the latest v3 release? Yes, I'm using the latest v3 release Is t...

Opengraph URL: https://github.com/serverless/serverless-python-requirements/issues/774

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Function Docker Image: ERR_INVALID_ARG_TYPE","articleBody":"### Are you certain it's a bug?\n\n- [X] Yes, it looks like a bug\n\n### Is the issue caused by a plugin?\n\n- [X] It is not a plugin issue\n\n### Are you using the latest v3 release?\n\n- [X] Yes, I'm using the latest v3 release\n\n### Is there an existing issue for this?\n\n- [X] I have searched existing issues, it hasn't been reported yet\n\n### Issue description\n\nIf I try to provide an image for a function with `name`, `command`, and `entryPoint` I am unable to deploy the function.\r\n\r\nIf I remove all image related stuff and just provide and entrypoint I am able to deploy:\r\n```python\r\nfunctions:\r\n  aggregation:\r\n    handler: handler_aggregation.handler_aggregation\r\n    module: commons\r\n    events:\r\n      - httpApi:\r\n          path: /get/aggregation\r\n          method: get\r\n```\n\n### Service configuration (serverless.yml) content\n\n```yaml\nservice: aggregation\r\n\r\nframeworkVersion: '3'\r\n\r\nprovider:\r\n  name: aws\r\n  runtime: python3.8\r\n  region: eu-west-1\r\n  memorySize: 256\r\n  ecr:\r\n    images:\r\n      baseimage:\r\n        path: ./\r\n\r\nfunctions:\r\n  aggregation:\r\n    image:\r\n      name: baseimage\r\n      command:\r\n      - handler_aggregation.handler_aggregation\r\n      entryPoint:\r\n      - '/lambda-entrypoint.sh'\r\n    events:\r\n      - httpApi:\r\n          path: /get/aggregation\r\n          method: get\r\n\r\nplugins:\r\n  - serverless-python-requirements\n```\n\n\n### Command name and used flags\n\nSTAGE=development sls deploy\n\n### Command output\n\n```shell\nEnvironment: darwin, node 19.7.0, framework 3.27.0 (local) 3.30.1v (global), plugin 6.2.3, SDK 4.3.2\r\nCredentials: Local, environment variables\r\nDocs:        docs.serverless.com\r\nSupport:     forum.serverless.com\r\nBugs:        github.com/serverless/serverless/issues\r\n\r\nError:\r\nTypeError [ERR_INVALID_ARG_TYPE]: The \"path\" argument must be of type string or an instance of Buffer or URL. Received undefined\r\n    at readFile (node:fs:393:10)\r\n    at go$readFile (/Users/oliverborchers/Desktop/Programming.nosync/datapipelines/video_metrics/node_modules/graceful-fs/graceful-fs.js:118:14)\r\n    at Object.readFile (/Users/oliverborchers/Desktop/Programming.nosync/datapipelines/video_metrics/node_modules/graceful-fs/graceful-fs.js:115:12)\r\n    at Object.readFile (/Users/oliverborchers/Desktop/Programming.nosync/datapipelines/video_metrics/node_modules/universalify/index.js:5:57)\r\n    at Object.tryCatcher (/Users/oliverborchers/Desktop/Programming.nosync/datapipelines/video_metrics/node_modules/bluebird/js/release/util.js:16:23)\r\n    at Object.ret [as readFileAsync] (eval at makeNodePromisifiedEval (/Users/oliverborchers/Desktop/Programming.nosync/datapipelines/video_metrics/node_modules/bluebird/js/release/promisify.js:184:12), \u003canonymous>:14:23)\r\n    at injectRequirements (/Users/oliverborchers/Desktop/Programming.nosync/datapipelines/video_metrics/node_modules/serverless-python-requirements/lib/inject.js:23:6)\r\n    at ServerlessPythonRequirements.injectAllRequirements (/Users/oliverborchers/Desktop/Programming.nosync/datapipelines/video_metrics/node_modules/serverless-python-requirements/lib/inject.js:145:13)\r\n    at ServerlessPythonRequirements.\u003canonymous> (/Users/oliverborchers/Desktop/Programming.nosync/datapipelines/video_metrics/node_modules/serverless-python-requirements/index.js:222:43)\r\n    at ServerlessPythonRequirements.tryCatcher (/Users/oliverborchers/Desktop/Programming.nosync/datapipelines/video_metrics/node_modules/bluebird/js/release/util.js:16:23)\r\n    at Promise._settlePromiseFromHandler (/Users/oliverborchers/Desktop/Programming.nosync/datapipelines/video_metrics/node_modules/bluebird/js/release/promise.js:547:31)\r\n    at Promise._settlePromise (/Users/oliverborchers/Desktop/Programming.nosync/datapipelines/video_metrics/node_modules/bluebird/js/release/promise.js:604:18)\r\n    at Promise._settlePromise0 (/Users/oliverborchers/Desktop/Programming.nosync/datapipelines/video_metrics/node_modules/bluebird/js/release/promise.js:649:10)\r\n    at Promise._settlePromises (/Users/oliverborchers/Desktop/Programming.nosync/datapipelines/video_metrics/node_modules/bluebird/js/release/promise.js:729:18)\r\n    at _drainQueueStep (/Users/oliverborchers/Desktop/Programming.nosync/datapipelines/video_metrics/node_modules/bluebird/js/release/async.js:93:12)\r\n    at _drainQueue (/Users/oliverborchers/Desktop/Programming.nosync/datapipelines/video_metrics/node_modules/bluebird/js/release/async.js:86:9)\r\n    at Async._drainQueues (/Users/oliverborchers/Desktop/Programming.nosync/datapipelines/video_metrics/node_modules/bluebird/js/release/async.js:102:5)\r\n    at Async.drainQueues [as _onImmediate] (/Users/oliverborchers/Desktop/Programming.nosync/datapipelines/video_metrics/node_modules/bluebird/js/release/async.js:15:14)\r\n    at process.processImmediate (node:internal/timers:475:21)\n```\n\n\n### Environment information\n\n```shell\nRunning \"serverless\" from node_modules\r\nFramework Core: 3.27.0 (local) 3.30.1 (global)\r\nPlugin: 6.2.3\r\nSDK: 4.3.2\n```\n","author":{"url":"https://github.com/oborchers","@type":"Person","name":"oborchers"},"datePublished":"2023-05-12T10:42:23Z","url":"https://github.com/serverless/serverless-python-requirements/issues/774"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8eb26e57-ad76-2a7e-4fa7-8c784a81cf20
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8D14:3F3939:A2F724:E45182:6B04302F
html-safe-noncead71ad7428249bb3c836de5f56e160053d7d7a96076bd496be2b082a67bf46dc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDE0OjNGMzkzOTpBMkY3MjQ6RTQ1MTgyOjZCMDQzMDJGIiwidmlzaXRvcl9pZCI6Ijc4NTc4MjAwNjQ4NjE2NjMyNzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3c80a98b82822519673fd3c6834cf3899136aeca02bf6a90c8c8d64437539db9
hovercard-subject-tagissue:1710247663
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/serverless/serverless-python-requirements/774/issue_layout
twitter:imagehttps://opengraph.githubassets.com/67c88ffdd80bd7eb524041a07cb392ff2162ae85e995d4c4b7139ed0ff22aaae/serverless/serverless-python-requirements/issues/774
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/67c88ffdd80bd7eb524041a07cb392ff2162ae85e995d4c4b7139ed0ff22aaae/serverless/serverless-python-requirements/issues/774
og:image:altAre you certain it's a bug? Yes, it looks like a bug Is the issue caused by a plugin? It is not a plugin issue Are you using the latest v3 release? Yes, I'm using the latest v3 release Is there an ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameoborchers
hostnamegithub.com
expected-hostnamegithub.com
Noneb7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e
turbo-cache-controlno-preview
go-importgithub.com/serverless/serverless-python-requirements git https://github.com/serverless/serverless-python-requirements.git
octolytics-dimension-user_id13742415
octolytics-dimension-user_loginserverless
octolytics-dimension-repository_id76508594
octolytics-dimension-repository_nwoserverless/serverless-python-requirements
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id76508594
octolytics-dimension-repository_network_root_nwoserverless/serverless-python-requirements
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec3dd496c3da6ea6b77e69c09279d2b81604654f1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/serverless/serverless-python-requirements/issues/774#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fserverless%2Fserverless-python-requirements%2Fissues%2F774
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fserverless%2Fserverless-python-requirements%2Fissues%2F774
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=serverless%2Fserverless-python-requirements
Reloadhttps://github.com/serverless/serverless-python-requirements/issues/774
Reloadhttps://github.com/serverless/serverless-python-requirements/issues/774
Reloadhttps://github.com/serverless/serverless-python-requirements/issues/774
serverlesshttps://github.com/serverless
serverless-python-requirementshttps://github.com/serverless/serverless-python-requirements
Codehttps://github.com/serverless/serverless-python-requirements
Issues177 (177)https://github.com/serverless/serverless-python-requirements/issues
Pull requests18 (18)https://github.com/serverless/serverless-python-requirements/pulls
Discussionshttps://github.com/serverless/serverless-python-requirements/discussions
Actionshttps://github.com/serverless/serverless-python-requirements/actions
Security and qualityhttps://github.com/serverless/serverless-python-requirements/security
Insightshttps://github.com/serverless/serverless-python-requirements/insights
https://github.com/serverless/serverless-python-requirements
Function Docker Image: ERR_INVALID_ARG_TYPEhttps://github.com/serverless/serverless-python-requirements/issues/774#top
https://github.com/oborchers
oborchershttps://github.com/oborchers
on May 12, 2023https://github.com/serverless/serverless-python-requirements/issues/774#issue-1710247663
medikoohttps://github.com/medikoo
serverless/serverlesshttps://github.com/serverless/serverless
on May 15, 2023https://github.com/serverless/serverless-python-requirements/issues/774#event-9247570444
https://github.com/kallelat
kallelathttps://github.com/kallelat
on May 28, 2023https://github.com/serverless/serverless-python-requirements/issues/774#issuecomment-1565971619
https://github.com/kallelat
kallelathttps://github.com/kallelat
on May 28, 2023https://github.com/serverless/serverless-python-requirements/issues/774#issuecomment-1565995981
@oborchershttps://github.com/oborchers
Sign up for freehttps://github.com/signup?return_to=https://github.com/serverless/serverless-python-requirements/issues/774
Sign in to commenthttps://github.com/login?return_to=https://github.com/serverless/serverless-python-requirements/issues/774
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.