New fresh project comes out of the box with errors

I created a new fresh project on linux, I am using VsCode and im getting many errors although the project seems to run fine with them? Is there some way I could solve these errors or get VsCode to ignore them? Included are just a few of the errors im seeing but they all follow that same "cant find module" convention
No description
No description
N
NDH36d ago
Wow, when did Fresh get a _nodemodules folder? And why?
C
cknight36d ago
If you init a project with Tailwind, it comes integrated via npm specifiers and node_modules. You can see in your console that the Fresh project started OK, thus the error you are seeing is in VS Code. It looks like you haven't installed or enabled the Deno LSP plugin.
N
NDH36d ago
Does that mean when using Tailwind you must AOT compile?
C
cknight36d ago
I don't think so, but it will be much slower. Locally (with tailwind integrated) it 'just works' and is very fast without any additional configuration.
P
Pitanga36d ago
I have the deno extension installed but I did not run Deno: enable, after doing so however now all of my errors have change to say "realtive import path not prefixed"
No description
C
cknight36d ago
Hmm. I'll assume you haven't changed the deno.json file created. In which case, try restarting the language server (Deno: Restart Language Server command in VS code) and/or restarting VS Code. I've just upgraded to 1.41.3 and have the same import as you without issue. Finally, check you have the latest LSP extension installed (I'm running v3.35.1). Also just noticed that you are on VSCodium. If none of the above suggestions work, check to see if it works in VSCode, as this is the only 'officially' supported IDE for the LSP.
P
Pitanga36d ago
switching to VsCode solved my issue, ty for your help
More Posts
Is there a deno function for inputting prompt reply without pressing enter?Normally, one has to press enter for the input to be accepted. I was wondering if there was a versioSetting Deno.Command priority and affinity (on windows)Is it possible to set a tasks / commands priority and affinity directly? Code: ```ts await new DenoIs there a way to write a Deno.AtomicCheck that succeeds for any non-null versionstamp?You can write a Deno.AtomicCheck that fails if the versionstamp for a key-value pair in the KV storeImportTypeScript API + get value of `compilerOptions` with default options from `tsconfig.json`?Hello, I'm trying to figure out the proper way to do a few things: 1. What's the correct way to impHow to override the version from a dependency of a project's dependency from npmI'm currently using react-pdf as a dependency, react-pdf uses fontkit as a dependency, and fontkit uHow to publish global types with JSR?I was trying to republish my npm package with JSR via npm jsr package. It all went well with one excCaching results from APIHi, I'm currently working on a project where I get data from an API (https://www.robotevents.com/apiINTERNAL_SERVER_ERROR_2 / 500 response codeSeveral clients concurrently reported INTERNAL_SERVER_ERROR_2 with a 500 error on requests to a deplMy site seems to be under attackI receive a large amount of request last night. Does this mean my site is under attack...?Deno drizzle-kit migrate:pgI don't know if its drizzle error or Deno error... I saw path resolution problem, it is said `C:UseDoes V8 engine eventloop/threading model conflict with rust?hi, I am trying to embed deno's rusty_v8 into rust application. I am confused about the eventloop/thHow installing Silverbullet on denoOn the officle website of silverbullet they say we can install silver bullet on deno but i dont knowimplementing swagger in deno typescript with deno_swagger_doc on deno.land. it throws error.error: Uncaught (in promise) Error: Cannot find module './isomorphic.node' var e = new Error("Cannnpm install -D equivalentI want to use drizzle-kit. `npm install -D drizzle-kit` but don't know how to get it work in Deno.Kill deno process treeHow would you kill a Deno process _tree_ as in, force kill of Deno process _and any of it's subproceWhat to do if they are attacking a project of mine?Hello!, Yesterday I suffered an attack on one of my projects, they made 6 million requests in a veryError Installing Deno using PowerShellHello, may I please ask for assistance in regards to installing Deno using PowerShell on VS Code. AnSvelte/SvelteKit support in 2024What’s your experience?Subprocesscan someone help me how do i get to show Hello world in my terminal by using Deno.Commands () using Problems using @apple/app-store-server-library, how do I debug?Hi, I'm attempting to build out the backend of an IOS app on Supabase and want to be able to verify