Sandbox not functioning as expected
See original GitHub issueDescribe the issue Following the Quick Start guidance proves unfruitful for sandbox mode on macOS
Steps to reproduce Steps to reproduce the behavior: environment
node --version
v10.16.3
which node
/Users/jdavila/.nvm/versions/node/v10.16.3/bin/node
which arc
/Users/jdavila/.nvm/versions/node/v10.16.3/bin/arc
.arc
@app
init
@http
get /
@aws
runtime nodejs10.x
profile default
region us-east-1
bucket arc-codes-testing
Steps
arc sandbox
which produces$ arc sandbox App ⌁ init Region ⌁ us-east-1 Profile ⌁ default Version ⌁ Architect 6.0.28 cwd ⌁ /Users/jdavila/Repos/arc-tinker ✓ Sandbox Found Architect manifest, starting up ✓ Sandbox Project files hydrated into functions ✓ Sandbox Loaded routes get / ................................. get-index ✓ Sandbox Sandbox started in 60ms ✈︎ Local environment ready! http://localhost:3333
- Then navigate to
http://localhost:3333
in the browser - Get generic Not Found browser page
- Terminal displays
/Users/jdavila/.nvm/versions/node/v10.16.3/lib/node_modules/@architect/architect/node_modules/@architect/sandbox/src/invoke-lambda/index.js:48 runtimes[runtime](options, timeout, callback) ^ TypeError: runtimes[runtime] is not a function at done (/Users/jdavila/.nvm/versions/node/v10.16.3/lib/node_modules/@architect/architect/node_modules/@architect/sandbox/src/invoke-lambda/index.js:48:24) at done (/Users/jdavila/.nvm/versions/node/v10.16.3/lib/node_modules/@architect/architect/node_modules/@architect/sandbox/src/invoke-lambda/get-config.js:18:7) at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
Expected behavior I would expect it to work as described in the docs
Screenshots If applicable, add screenshots to help explain your problem
Desktop Please complete the following information (if appropriate):
- OS: MacOS Catalina 10.15.2
- Browser: Firefox
- Version: 71.0
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Windows Sandbox not working - Microsoft Community
Now move File Explorer Options to one side of your screen. Go back to Control Panel ; Locate and open Program and Features....
Read more >Issues setting up sandbox on Windows 10 - and discovered a fix
Hello, so I had some issues setting up sandbox on Windows 10 with docker and git bash. Went through the steps exactly. There...
Read more >Is the sandbox server down? | Apple Developer Forums
I have production and sandbox certificates set up for two different apps. Today the sandbox certificates stopped working for both apps, but the...
Read more >Type Mismatch - 1st argument to sandbox is not what I expect
This makes the compiler unhappy, because it thinks that model should be ( Model, Cmd msg ) instead of just Model . element...
Read more >Troubleshooting the “Failed to Create Pod Sandbox” Error
The “failed to create pod sandbox” error is a common problem when you're trying to create a pod in Kubernetes. This article will...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I know there was some work recently done in the runtime configuration code paths, cc @brianleroux
Sorry @defionscode! Was actually fixed on the 7th, forgot to update this issue.