Skip to content
New issue

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

Deploy of node.js express + mongodb app failing #61

Open
babvin opened this issue Jan 4, 2024 · 0 comments
Open

Deploy of node.js express + mongodb app failing #61

babvin opened this issue Jan 4, 2024 · 0 comments

Comments

@babvin
Copy link

babvin commented Jan 4, 2024

npx deploy-node-app -f

? What is the container image name for our project? To use docker hub, try username/project-name. Note: Make sure this is marked private, or it may be automatically created as a public image! babvin/writersadda

/home/vinay/.npm/_npx/b1f1036aac97e0d1/node_modules/deploy-node-app/src/languages/nodejs.js:33
if (!entrypoint.startsWith('npm') && !entrypoint.startsWith('node')) {
^

TypeError: Cannot read properties of undefined (reading 'startsWith')
at Object.entrypoint (/home/vinay/.npm/_npx/b1f1036aac97e0d1/node_modules/deploy-node-app/src/languages/nodejs.js:33:21)
at promptForEntrypoint (/home/vinay/.npm/_npx/b1f1036aac97e0d1/node_modules/deploy-node-app/src/deployNodeApp.js:101:63)
at generateArtifact (/home/vinay/.npm/_npx/b1f1036aac97e0d1/node_modules/deploy-node-app/src/deployNodeApp.js:625:56)
at async init (/home/vinay/.npm/_npx/b1f1036aac97e0d1/node_modules/deploy-node-app/src/deployNodeApp.js:759:17)
at async DeployNodeApp (/home/vinay/.npm/_npx/b1f1036aac97e0d1/node_modules/deploy-node-app/src/deployNodeApp.js:855:3)

Node.js v20.10.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant