Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2023-07-08 - deno v1.35.0 時点だと、deno 推奨方法じゃないESM形式のNPMパッケージは使えない? #227

Closed
kachick opened this issue Jul 8, 2023 · 2 comments
Labels
question Further information is requested

Comments

@kachick
Copy link
Owner

kachick commented Jul 8, 2023

npmの公式サポート開始してから大体 npm も動く印象があったんだけど、その npm 側が ESM 形式で書かれていて、且つ deno のスタイルであるファイル名を拡張子まで明記する形を取ってない時には module not found になるよう見える

skypack とか esm.sh 使っても解決されない

https://github.com/actions/languageservices/blob/8f2f59092edf10e9c4494dd13db3f497bb8d579b/languageservice/src/index.ts#L1
https://github.com/actions/languageservices/blob/8f2f59092edf10e9c4494dd13db3f497bb8d579b/expressions/src/index.ts#L4

この辺で詰まるように見える

@kachick kachick added the question Further information is requested label Jul 8, 2023
@kachick
Copy link
Owner Author

kachick commented Jul 26, 2023

node での話っぽいけど、どうも actions/languageservices が特異な感じはしている actions/languageservices#50

@kachick
Copy link
Owner Author

kachick commented Feb 23, 2024

謎のまま

@kachick kachick closed this as completed Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant