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.ts Alternatively 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
-
For building project to production , as I understand I have to execute
deno run -A dev.ts build
. This command generates me_fresh
folderIn this folder I see
main.js
file , 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