-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Error executing sample script from https://deno.land/x/opine #39
Comments
@rglowrey ah yes, saw this is in one of my other repos - one of the subdependencies hasn’t locked its versions causing this issue - I’ll get a patch out this morning shortly. |
@rglowrey please can you try out REF: https://github.com/asos-craigmorten/opine/releases/tag/0.17.0 |
No, didn't fix it. Here's the code I ran:
Here's the result:
|
@rglowrey Hmm... the classic and somewhat unhelpful "works for me"! Can you try with the $ deno run --allow-net --allow-read --reload sampleOpine.ts |
Now I get to give the classic "so it really WAS me all along!". Yes, running with the --reload flag did the trick. Also, when I ran it with the first line |
@rglowrey no bother at all! I believe the initial problem lay with Opine 😂 or specifically one of it's dependencies - something I think needs ironed out in Deno is sub-dependency resolution, conflicts etc. I don't think there is a way to "lock" versions for consumers of a module. The only thing consumers can do afaik is find a "good" version and then use the Glad it works now anyway! |
Issue
Setup:
Details
deno run sampleOpine.ts
Check file:///home/rick/Working/Playpen/deno/OpineTemplate/sampleOpine.ts
error: TS2305 [ERROR]: Module '"./_utils"' has no exported member 'normalizeEncoding'.
import { notImplemented, normalizeEncoding } from "./_utils.ts";
~~~~~~~~~~~~~~~~~
at https://deno.land/std/node/buffer.ts:3:26
Not quite sure what to do with this, or if it's my configuration that's the problem. NB: I was able to successfully run a Deno server app using OAK on the same machine.
The text was updated successfully, but these errors were encountered: