Could not resolve dependency

Hi yall! I am currently trying to use deno for all my typescript purposes, but I came across an error I could not resolve.
DNAD@dand:~/Documents/GitHub/Frog-With-A-Knife$ deno install npm:fs
Add npm:fs@0.0.1-security
DNAD@dand:~/Documents/GitHub/Frog-With-A-Knife$ deno run dev-db
Task dev-db rm daataabaasaa.db; deno run -A src/db.ts; deno run dev
Task dev deno run -A --watch src/index.ts
Watcher Process started.
error: Could not resolve 'npm:fs@0.0.1-security'

Caused by:
[ERR_MODULE_NOT_FOUND] Cannot find module 'file:///home/DNAD/.cache/deno/npm/registry.npmjs.org/fs/0.0.1-security/index.js' imported from 'file:///home/DNAD/Documents/GitHub/Frog-With-A-Knife/src/index.ts'
Watcher Process failed. Restarting on file change...
DNAD@dand:~/Documents/GitHub/Frog-With-A-Knife$ deno install npm:fs
Add npm:fs@0.0.1-security
DNAD@dand:~/Documents/GitHub/Frog-With-A-Knife$ deno run dev-db
Task dev-db rm daataabaasaa.db; deno run -A src/db.ts; deno run dev
Task dev deno run -A --watch src/index.ts
Watcher Process started.
error: Could not resolve 'npm:fs@0.0.1-security'

Caused by:
[ERR_MODULE_NOT_FOUND] Cannot find module 'file:///home/DNAD/.cache/deno/npm/registry.npmjs.org/fs/0.0.1-security/index.js' imported from 'file:///home/DNAD/Documents/GitHub/Frog-With-A-Knife/src/index.ts'
Watcher Process failed. Restarting on file change...
In the first command I installed npm:fs, but it clearly didnt work. How do I resolve the package?
1 Reply
Definitely Not A Dolphin
nvm got it !solved alr that doesnt work

Did you find this page helpful?