Geshan Manandhar
May 11, 2021 ⋅ 10 min read

Deploying a full-stack Node.js + React app for free with Begin

Geshan Manandhar Geshan is a seasoned software engineer with more than a decade of software engineering experience. He has a keen interest in REST architecture, microservices, and cloud computing. He also blogs at geshan.com.np.

Recent posts:

Integrating Django Templates With React For Dynamic Webpages

Integrating Django templates with React for dynamic webpages

Create a dynamic demo blog site using Django and React to demonstrate Django’s server-side functionalities and React’s interactive UI.

Kayode Adeniyi
Apr 18, 2024 ⋅ 7 min read
Using Aoi Js To Build A Bot For Discord

Using aoi.js to build a bot on Discord

Explore how the aoi.js library makes it easy to create Discord bots with useful functionalities for frontend applications.

Rahul Padalkar
Apr 17, 2024 ⋅ 9 min read
Web Components Adoption Guide: Overview, Examples, And Alternatives

Web Components adoption guide: Overview, examples, and alternatives

Evaluate Web Components, a set of standards that allow you to create custom HTML tags for more reusable, manageable code.

Elijah Asaolu
Apr 16, 2024 ⋅ 11 min read
Using Aws Lambda And Aws Cloudfront To Optimize Image Handling

Using AWS Lambda and CloudFront to optimize image handling

Leverage services like AWS Lambda, CloudFront, and S3 to handle images more effectively, optimizing performance and providing a better UX.

Nitish Sharma
Apr 12, 2024 ⋅ 12 min read
View all posts

2 Replies to "Deploying a full-stack Node.js + React app for free with Begin"

  1. Hi Geshan Manandhar,

    I followed steps mention in this guide, but test are failing. Can you help me resolving this issue. Test are passing on local machine but failing on begin site.

    > [email protected] test /tmp/cf9dd36c4da4-4fb2-b199-0f30d828c05f
    > cross-env NODE_ENV=testing PORT=6666 tape test/**/*-test.js test/*-test.js | tap-spec

    Set up env

    ✔ sandbox loaded

    Start the Sandbox

    App ⌁ react-hello
    Region ⌁ us-west-2
    Profile ⌁ @aws profile / AWS_PROFILE not configured
    Version ⌁ –
    cwd ⌁ /tmp/cf9dd36c4da4-4fb2-b199-0f30d828c05f
    ✓ Sandbox Found Architect project manifest: package.json
    ✓ Sandbox No testing environment variables found
    ✓ Sandbox Project files hydrated into functions
    ✓ Sandbox Started service discovery emulator
    ✓ Sandbox Loaded routes (HTTP API mode / Lambda proxy v2.0 format)
    get /api ………………………… api

    ✓ Sandbox Started in 26ms
    ❤︎ Local environment ready!
    ✔ should be strictly equal

    get /api

    throw er; // Unhandled ‘error’ event

    Error: spawn ps ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:268:19)
    at onErrorNT (internal/child_process.js:470:16)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)
    Emitted ‘error’ event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:274:12)
    at onErrorNT (internal/child_process.js:470:16)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
    errno: ‘ENOENT’,
    code: ‘ENOENT’,
    syscall: ‘spawn ps’,
    path: ‘ps’,
    spawnargs: [ ‘-o’, ‘pid’, ‘–no-headers’, ‘–ppid’, 153 ]
    npm ERR! Test failed. See above for more details.

Leave a Reply