D
Deno

help

error on installing

OSOscar Stars10/18/2023
i do not know if im doing it right or something else
No description
OSOscar Stars10/18/2023
am i doing something wrong or ill wait for a response
DAHDeno AI Helper10/18/2023
I'm sorry to hear that you're having trouble with the installation. Could you please provide more details about the issue? For example, what operating system are you using? What steps have you taken so far? Are there any error messages you're seeing? This information will help me assist you better. 🦕
OSOscar Stars10/18/2023
line 39
DAHDeno AI Helper10/18/2023
The line 39 in the provided documentation's opinion refers to the flag --turbo-inlining which is used to enable inlining in TurboFan. The default value for this flag is set to true. This means that, by default, the inlining feature in TurboFan is enabled. If you want to disable this feature, you can set this flag to false.
OSOscar Stars10/18/2023
Remove-Item : A parameter cannot be found that matches parameter name 'ssl-no-revoke'. At line:39 char:22 + Remove-Item $DenoZip —ssl-no-revoke + ~~~~~~ + CategoryInfo : InvalidArgument: (:) [Remove-Item], ParentContainsErrorRecordException + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
DAHDeno AI Helper10/18/2023
The error message you're seeing suggests that the Remove-Item command does not recognize the —ssl-no-revoke parameter. This parameter is not a valid parameter for the Remove-Item command in PowerShell. The Remove-Item command in PowerShell is used to delete one or more items, including files, folders, registry keys, variables, aliases, and functions. It does not have a parameter called —ssl-no-revoke. If you're trying to remove an item and you're facing SSL issues, it might be related to the item you're trying to remove rather than the Remove-Item command itself. Without more context, it's hard to provide a more specific solution. However, you might want to check the item you're trying to remove and see if there's an issue with that.
OSOscar Stars10/18/2023
wait. Remove-Item : Cannot find path 'C:\Users\Oscar.deno\bin\deno.zip' because it does not exist. At line:39 char:1 + Remove-Item $DenoZip + ~~~~ + CategoryInfo : ObjectNotFound: (C:\Users\Oscar.deno\bin\deno.zip:String) [Remove-Item], ItemNotFoundEx ception + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
DAHDeno AI Helper10/18/2023
The error message you're seeing suggests that the file you're trying to remove (C:\Users\Oscar\.deno\bin\deno.zip) does not exist. This could be because the file was already removed, or it was never there in the first place. In Deno, you can remove a file using the Deno.remove or Deno.removeSync functions. Here's an example of how you might use it:
try {
Deno.removeSync("C:/Users/Oscar/.deno/bin/deno.zip");
} catch (err) {
if (err instanceof Deno.errors.NotFound) {
console.log("File does not exist");
} else {
throw err;
}
}
try {
Deno.removeSync("C:/Users/Oscar/.deno/bin/deno.zip");
} catch (err) {
if (err instanceof Deno.errors.NotFound) {
console.log("File does not exist");
} else {
throw err;
}
}
In this example, Deno.removeSync tries to remove the file at the specified path. If the file does not exist, a Deno.errors.NotFound error is thrown. The catch block catches this error and logs a message to the console. If any other type of error is thrown, it is re-thrown by the throw err; statement. Please replace "C:/Users/Oscar/.deno/bin/deno.zip" with your actual file path. Also, ensure you have the necessary permissions to delete the file.
OSOscar Stars10/18/2023
.. this is not helping really
Kking8fisher10/18/2023
Try scoop install deno, something is not right with certificates as far the original error goes.
OSOscar Stars10/18/2023
i do not have scoop thats also the problem
Kking8fisher10/18/2023
what was your original installation command?
OSOscar Stars10/18/2023
idk im just new to this to like deno and scoop and some other stuff
Kking8fisher10/18/2023
in PS it should be irm https://deno.land/install.ps1 | iex
OSOscar Stars10/18/2023
No description
Kking8fisher10/18/2023
Is AVG AntiVirus on by chance?
OSOscar Stars10/18/2023
im using avast should i turn off its shields it was the anti virus 💀 thx for helping
Kking8fisher10/18/2023
yay
OSOscar Stars10/18/2023
:D now i can finally install some user scripts

Looking for more? Join the community!

Recommended Posts
Deno equivalent os.cpus().lengthWhat’s the Deno Equivalent for `os.cpus().length`?How can I get deno to access internal packages from a workspace in npm or bun?I have the following workspace setup. I would like to have a deno/oak/kv project in the same folderHow to resolve requires without `.js` extension in a very basic NPM resolver?I have an NPM resolver that without caching that expects everything to be in a `node_modules` folderHow do I have a subrouter in Oak?I want to use a subrouter in oak to handle part of the routing, how would I do that in Oak? here is rust ffi buffer overflowhi, do i have to null-terminate array when using rust ffi? i'm getting buffer overflows. ```rs #[no_How to actually sign out using deno_kv_authNot sure if bug or feature, but I have problems signing out from deno_kv_auth. I'm using Auth0 for tDistroless Docker image fails with `libc.so: cannot open shared object file: No such file`I am building a 1:1 with a Node project using the same base for a docker image `distroless/cc`. BothBootstrapping a minimal node-compatible runtimeI'm trying to bootstrap a minimal node-compatible runtime, so I've basically been copying and pastinI want to adjust around tls using fetch APIWith nodejs, you could specify a cipher suite or version to be used with tls. Can't you do the same RUN deno task in DockerfileI have made a script to make DB migrations happen using "deno task migration", and I'd love for it tHelp Web.jsrq need help in web.js \ ```js window.paypal .Buttons({ style: { shape: "rect", laUnable to load env variables in localI'm starting again with deno since a long time with a small telegram bot using the `grammy` frameworWhy Bad resource ID occurs?I ran the following and got `error: BadResource: Bad resource ID` on seek. ```typescript import { toStorybook: some lightweight alternative for Deno?Do you know some lightweight alternative for [Storybook](https://storybook.js.org) to run on Deno?How can i change the location of Cache.open('somedb')We're deploying to docker containers which needs to write to an attached volume (specific path)How do I make Objects, Maps, etc. in rusty_v8 into easy-to-understand String?Hello. I wrote the following code in rusty_v8 ```rs let isolate = &mut v8::Isolate::new(Default:Usage of Deno.Command?Hey guys we use Deno.run to launch shell cmd and pipe the result to log. But Deno.run will be deprecWhen the destination server is down, WebSocketStream stops and the program crashes.I'm running the following code: ```const ws = new WebSocketStream("wss://localhost"); setInterval((Struggling with interactive FreshChartsHi there I'm trying to display charts in my fresh js project. i want to have them as islands accordiTurso with local db fileI wanted to try out Turso's syncURL feature and for that it creates a local db file to read from and