After running production main.js file , get error: Uncaught ReferenceError: history is not defined #2090
Closed
andriiradkevych
started this conversation in
General
Replies: 1 comment
-
|
Ah I see where the confusion is coming from. The file in - deno run -A _fresh/main.js
+ deno run -A main.tsAlternatively you can use the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For building project to production , as I understand I have to execute
deno run -A dev.ts build. This command generates me_freshfolderIn this folder I see
main.jsfile , which as I understand I have to run . But when I run it by commanddeno run -A _fresh/main.js, I get on my termianl :Am I doing something wrong ? Could you pls give me more info how can make production build and run this file to handle my requests ?
Beta Was this translation helpful? Give feedback.
All reactions