Deno is not seeing a project

It seems deno is not seeing a project i am using. Project link: https://github.com/Swifter1243/ReMapper Error i am recieving in the picture: I can provide more if needed
GitHub
GitHub - Swifter1243/ReMapper: A framework for Beat Saber map scrip...
A framework for Beat Saber map scripting. Contribute to Swifter1243/ReMapper development by creating an account on GitHub.
No description
M
marvinh.60d ago
1. have you installed the deno vscode extension? 2. is the extension enabled? According to the screenshot it's not. There is a "Deno: Enable" command in vscode supplied by the extension
S
//Specture7\\60d ago
ive tried it already, it didn't seem to work. and yes i do have the extension
No description
M
marvinh.60d ago
In that case @nayeemrmn can you take a look?
S
//Specture7\\60d ago
and just to add, i just noticed the update at the bottom right and updated the extension, still gives the same error
A
AOC60d ago
Did you get any errors when running the Deno: enable command?
S
//Specture7\\60d ago
no, that works fine
S
//Specture7\\60d ago
so actually, i don't get an error when i run deno:enable, but i do when i run Run:Deno
No description
M
marvinh.60d ago
You're passing a path that contains spaces. The path needs to be wrapped with quotes like "c:\Program Files\..." , otherwise the shell will interpret each word as a command instead of as one path
S
//Specture7\\60d ago
right so, even when i do that i now get this error
No description
M
marvinh.60d ago
That looks like a bug in the JS code. I'm not familiar enough with the remapper library and what kind of data is passed into that
S
//Specture7\\60d ago
right, but also still not too sure about this error here
No description
M
marvinh.60d ago
Run the Deno: Enable command from the vscode command palette. Based on the ts-(<number>) bit at the end of the diagnostic you can tell that vscode's built in language sever is still active instead of the one from deno. Diagnostics from the deno language server show up as deno-ts-(<number>)
S
//Specture7\\59d ago
so when i run deno enable it doesnt look like it does anything, with the new update was the deno initialize workspace command removed? it says here i need to use it when doing the installation
No description
M
marvinh.59d ago
I think it was renamed to Deno: Enable cc @nayeemrmn
S
//Specture7\\59d ago
ah that makes sense, though before when i would run it a few things would pop up at the bottom right asking to allow a few things, i forgot what they were though but yeah even when running deno enable it still doesn't get rid of the error for some reason
M
marvinh.59d ago
I guess I'm at my wits end. @nayeemrmn can you look into this?
S
//Specture7\\59d ago
and i can provide more if needed btw the only thing i can think of is that its my vsc being wonky, though im not sure cause it probably works fine for swifter
M
marvinh.59d ago
It's likely a bug in our vscode extension
S
//Specture7\\59d ago
i guess that could be a possibility i wonder if the initialized workspace being renamed messed with the project somehow
I
irbull59d ago
It was renamed, but an alias was added so both work. What is in your settings.json in the .vscode folder? I created a PR that adds a modal dialog (info pop up in the bottom right) to provide an indication that Deno: Enable actually did something. While the PR is merged, I don't know if it's released yet.
N
nayeemrmn58d ago
Are you sure it's the same error, or is the import not cached
S
//Specture7\\55d ago
its this here
No description
S
//Specture7\\55d ago
im 95% sure its the same error sry for the late reply on both of these
S
//Specture7\\54d ago
so im not the best at coding, in fact im pretty new to it tbh, but from what it looks like is that it may recognize it with this but it still shows this error. so its still confusing to me. and theres more in the .txt file but im not copy and pasting the whole thing
M
marvinh.54d ago
looks like for whatever reason the deno extension isn't active and the built in ts-server still takes over @nayeemrmn any idea what could cause this?
S
//Specture7\\53d ago
yeah no idea why its not active, unless there is something im missing somehow in the extension but i don't think i am, i did deno: enable and everything but nothings happening. really weird also if this helps figuring out what i am missing, there are some map scripts with 3.1.2 here https://github.com/Swifter1243/MapScripts/blob/main/ReMapper/3.1.2/The%20Siren%20Song/script.ts so kind of an odd thing happened yesterday, i went and did the setup for a map im trying to use this script on with my PC and it worked perfectly not giving that error im having. no idea how its fine on that but not my laptop which is what ive been trying to set it up on. maybe i have a plugin that conflicts with deno somehow? im not sure if thats how it would work but maybe idk
M
marvinh.53d ago
yeah could be one of the vscode extensions. Maybe try disabling others and only having the one from deno active
S
//Specture7\\53d ago
ill give it a try
More Posts
`arch` and `platform` are empty strings in `node:process`👋 hello! I'm trying to use a node project that uses `arch` and `platform` inside `node:process`, whNPM imports fail on JSON requireWhen importing modules via `npm:` protocol, the embedded esbuild will throw the following error if tuse-case: web component development in denoMy use-case is quite simple, really. But I have a hard time finding the tooling to work with it. - Starting project errorsI have error in url of DenoConditional callback with deno_kv_oauthHello I am using deno_kv_oauth for my application and am trying to do the following: I want users tClear deno kv dbHow can I clear out the database? using `list` requires the keys to be known, but I just want to clehow to break console.log maximum characters limithi, im using usual `deno run file.ts` command and realized that there is a limit to number characternpm import : class is not found but it is well declared in node_moduleI try to use Tatum SDK in deno (https://github.com/tatumio/tatum-js). I pick up the easiest code exaInteractive Jupyter notebookHas anyone figured out how to do interactivity in a Jupyter notebook with Deno kernel in VSCode? LiRun all pending ticks synchronouslyCurrently it seems like `run_event_loop` is the only way to run all the pending ops that are schedulHow can I do server sent events on the client side in deno?I have a server api which is doing server sent events correctly, I can see it in curl doing what I wunable to connect to mongodb using deno inside containerFirst of all, I want to mention that when I run `deno task preview` on my local machine / laptop, itTC39 stage 3 decorators not working anymore in Deno DeployAs of Feb 15th, deployments to #deploy™ fail when using TC39 decorators. Despite the decision to suUse Deno permissions in your own CLIIf I create a CLI with Deno, can I somehow reuse or pass on the permissions? ```bash > mycli --alloHas someone worked on a win32/x11/mac native window creation using FFI?Using only operating system native libraries? No SDL, etc.How to unset white background of SVG in Jupyter notebook?I’ve got a Jupyter notebook with Deno kernel in VSCode that displays an SVG. The SVG has a forced whHow to get the Docker ARM image for DenoI keep getting this error when trying to deploy my code: ``` WARNING: The requested image's platfoDeno compiled bin not create fileHi, I have a script that create file with Deno.writeFileSync() on current location When run script VSCode Extension Failing ot Initialize:party_deno: **RESOLVED** :party_deno: Having a bit of trouble using the VSCode Extension. `deno`deno command stdin, stdout continous readingI am trying to spawn an AI (cpp code) however after launching the code it immediately exits. It also