Comments (3)
The error means that deno can't be found in your path. When you install deno via asdf, can you run it yourself from the terminal you are running now dev from?
from now-deno.
Yes, I can use deno under ~/.asdf/shims/
in the terminal and now dev
from the same terminal seems failing to find it.
MacBook-Pro-4:now-deno-example kt3k$ which deno
/Users/kt3k/.asdf/shims/deno
MacBook-Pro-4:now-deno-example kt3k$ deno --version
deno 0.32.0
v8 8.1.108
typescript 3.7.2
MacBook-Pro-4:now-deno-example kt3k$ now dev
Now CLI 17.0.3 dev (beta) — https://zeit.co/feedback
> Creating initial build
> Success! Build completed
> Ready! Available at http://localhost:3000
unknown command: deno. Perhaps you have to reshim?
unknown command: deno. Perhaps you have to reshim?
error: bad deno executable
Unexpected bootstrap error when calling AWS_LAMBDA_RUNTIME_API /init/error:
InitException: bad deno executable
at Lambda.<anonymous> (/Users/kt3k/.asdf/installs/nodejs/12.13.0/.npm/lib/node_modules/now/dist/index.js:2:3545645)
at Generator.next (<anonymous>)
at fulfilled (/Users/kt3k/.asdf/installs/nodejs/12.13.0/.npm/lib/node_modules/now/dist/index.js:2:3543532)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(Could be an issue of asdf...)
from now-deno.
Interesting... internally I call which deno
and then create a symlink from [project root]/.now/builders/now-deno/[entry file path]/layer/bin/deno
to the deno executable I found with which deno
. I don't know if asdf just doesn't like its shims being symlinked. Can you check if there is a symlink at [project root]/.now/builders/now-deno/[entry file path]/layer/bin/deno
and if you can run it? That might give some more insight.
from now-deno.
Related Issues (13)
- Add tests
- Support now dev
- WebSocket on Lambda with Zeit Now HOT 3
- Specify deno-lambda version HOT 9
- Remove 'deno bundle' HOT 2
- Fix up 'now dev' on Windows
- Doesn't work with deno-postgres HOT 1
- Add optional '--config' flag HOT 2
- Support request and response objects HOT 4
- Unable to add params outside of --unstable HOT 5
- Issues Bundling HOT 1
- Change tags of repo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from now-deno.