-
Notifications
You must be signed in to change notification settings - Fork 335
wrangler was not installed successfully #1479
Comments
Happened the same to me on debian stretch. I supposed it was because my NPM install was done with APT. I've tried another VM with Ubuntu 20.04, with Node installed from NVM and then:
Didn't work either. Other packages like express install just fine:
So after a decent amount of time spent, I just grabbed the binary from here: https://github.com/cloudflare/wrangler/releases/download/v1.10.3/wrangler-v1.10.3-x86_64-unknown-linux-musl.tar.gz And then the python example didn't worked on Debian 9 (probably due to python 3.5). I tried again in the Ubuntu 20.04 VM (where I've installed the binary directly too). I tried to import json to serialize/deserialize from python and it shows the error: Having problem installing the tool and then it's not possible to do more than a hello world at python makes me think it's worth to rely on workers at the moment if you aren't trying to use javascript. |
you might need to update node |
I'm on node 15 and have the same issue.
example package.json:
|
I was having the same issue. I was unable to get the npm install to work, but I was able to get |
@rodrigopv it looks like you're trying to run The wrangler npm installer does not support running as |
Hi,
Hope this helps. Happy coding.... |
Solved this by simply using yarn instead of npm. |
wrangler was not installed successfully
/usr/lib/node_modules/@cloudflare/wrangler/node_modules/binary-install/src/binary.js:60 throw
You have not installed ${this.name ? this.name : "this package"}; ^ You have not installed wrangler (Use
node --trace-uncaught ...to show where the exception was thrown)
The text was updated successfully, but these errors were encountered: