mandarinets: error: Failed to get compiled source code of https://deno.land/x/denjucks/src/deps/path/std/path/mod.ts.
got error by running this command :
deno run --config tsconfig.json --allow-net --allow-read myFile.ts
error: Failed to get compiled source code of https://deno.land/x/denjucks/src/deps/path/std/path/mod.ts. Reason: The system cannot find the path specified. (os error 3)
File tree:
myFile.ts tsconfig.json
it was working fine 2 or 3 days ago
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 16 (11 by maintainers)
This has been confirmed as working and will be closed.
@WhoAdarshPandya This should have been solved in v1.1.2. Note that you will not be able to use Denjucks.
Try pointing out to @v1.1.2 and let me know if your mandarine starts working fine again. Remember to use the flag
--reloadGot it. Great no worries. I’ll work on this and you’ll be let know when this is solved. It should be rolling out next week if there’s any mandarine-related bug. I suspect it’s more of a Deno thing, but we’ll see
@WhoAdarshPandya I would like to mention there were some fundamental changes in v1.1.1 which included the modification of some source URLS. I just ran the quick example and it worked fine. But I do want to mention I ran it with the flag –reload. –reload will empty the cache folder and re-download all the modules. Instead of doing
deno run --config tsconfig.json --allow-net --allow-read myFile.ts, please do:deno run --config tsconfig.json --allow-net --allow-read --reload myFile.tsIf
--reloaddidn’t do it, try pointing out to an earlier version of Mandarine such as v1.1.0 you can do this byimport { ...... imports .... } from "https://deno.land/x/mandarinets@v1.1.0/mod.ts";Remember to replace ** … imports …** with the modules of Mandarine you are using.I will be waiting for your feedback on this as well as your code and an screenshot of your file tree just to verify and try to reproduce the behavior as much as possible.
Best.