Oscar Stars
Oscar Stars•10mo ago

error on installing

i do not know if im doing it right or something else
No description
19 Replies
Oscar Stars
Oscar Stars•10mo ago
am i doing something wrong or ill wait for a response
Deno AI Helper
Deno AI Helper•10mo ago
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. 🦕
Oscar Stars
Oscar Stars•10mo ago
line 39
Deno AI Helper
Deno AI Helper•10mo ago
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.
Oscar Stars
Oscar Stars•10mo ago
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
Deno AI Helper
Deno AI Helper•10mo ago
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.
Oscar Stars
Oscar Stars•10mo ago
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
Deno AI Helper
Deno AI Helper•10mo ago
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.
Oscar Stars
Oscar Stars•10mo ago
.. this is not helping really
king8fisher
king8fisher•10mo ago
Try scoop install deno, something is not right with certificates as far the original error goes.
Oscar Stars
Oscar Stars•10mo ago
i do not have scoop thats also the problem
king8fisher
king8fisher•10mo ago
what was your original installation command?
Oscar Stars
Oscar Stars•10mo ago
idk im just new to this to like deno and scoop and some other stuff
king8fisher
king8fisher•10mo ago
in PS it should be irm https://deno.land/install.ps1 | iex
Oscar Stars
Oscar Stars•10mo ago
No description
king8fisher
king8fisher•10mo ago
Is AVG AntiVirus on by chance?
Oscar Stars
Oscar Stars•10mo ago
im using avast should i turn off its shields it was the anti virus 💀 thx for helping
king8fisher
king8fisher•10mo ago
yay
Oscar Stars
Oscar Stars•10mo ago
:D now i can finally install some user scripts