-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
With Deno 2.6.5 all is fine, after upgrading to 2.6.6 I get this:
✘ [ERROR] Too many redirects for 'npm:/@codemirror/legacy-modes@6.5.2/mode/sql' [plugin deno-loader]
client/languages.ts:5:7:
5 │ } from "@codemirror/legacy-modes/mode/sql";
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
✘ [ERROR] Too many redirects for 'npm:/@codemirror/legacy-modes@6.5.2/mode/rust' [plugin deno-loader]
client/languages.ts:6:37:
6 │ import { rust as rustLanguage } from "@codemirror/legacy-modes/mode/rust";
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
✘ [ERROR] Too many redirects for 'npm:/@codemirror/legacy-modes@6.5.2/mode/python' [plugin deno-loader]
client/languages.ts:7:41:
7 │ import { python as pythonLanguage } from "@codemirror/legacy-modes/mode/python";
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
✘ [ERROR] Too many redirects for 'npm:/@codemirror/legacy-modes@6.5.2/mode/protobuf' [plugin deno-loader]
client/languages.ts:10:7:
10 │ } from "@codemirror/legacy-modes/mode/protobuf";
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
✘ [ERROR] Too many redirects for 'npm:/@codemirror/legacy-modes@6.5.2/mode/shell' [plugin deno-loader]
client/languages.ts:11:39:
11 │ import { shell as shellLanguage } from "@codemirror/legacy-modes/mode/shell";
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
✘ [ERROR] Too many redirects for 'npm:/@codemirror/legacy-modes@6.5.2/mode/swift' [plugin deno-loader]
client/languages.ts:12:39:
12 │ import { swift as swiftLanguage } from "@codemirror/legacy-modes/mode/swift";
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(examples here are all about codemirror, but I have other examples too with preact/hooks imports for instance)
This seems to only happen for npm imports that have paths inside of a package, in my deno.json I have import maps like this::
"imports": {
"@codemirror/legacy-modes": "npm:@codemirror/legacy-modes@6.5.2"
}
Any idea what could be going on?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels