2021-05-11
2925
#node#react
Geshan Manandhar
47599
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:

Rxjs Adoption Guide: Overview, Examples, And Alternatives

RxJS adoption guide: Overview, examples, and alternatives

Get to know RxJS features, benefits, and more to help you understand what it is, how it works, and why you should use it.

Emmanuel Odioko
Jul 26, 2024 ⋅ 13 min read
Decoupling Monoliths Into Microservices With Feature Flags

Decoupling monoliths into microservices with feature flags

Explore how to effectively break down a monolithic application into microservices using feature flags and Flagsmith.

Kayode Adeniyi
Jul 25, 2024 ⋅ 10 min read
Lots of multi-colored blue and purplish rectangles.

Animating dialog and popover elements with CSS @starting-style

Native dialog and popover elements have their own well-defined roles in modern-day frontend web development. Dialog elements are known to […]

Rahul Chhodde
Jul 24, 2024 ⋅ 10 min read
Using Llama Index To Add Personal Data To Large Language Models

Using LlamaIndex to add personal data to LLMs

LlamaIndex provides tools for ingesting, processing, and implementing complex query workflows that combine data access with LLM prompting.

Ukeje Goodness
Jul 23, 2024 ⋅ 5 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
    http://localhost:6666

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

    get /api

    events.js:291
    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