StéphaneS
Deno2y ago
5 replies
Stéphane

Fresh - Error while running deno run on the built _fresh directory

Hi, I installed the latest version of Deno yesterday on Manjaro using the install.sh script. I then created a fresh (haha) fresh project. I noticed that the
cli
task was not happy because it uses the
 --unstable
flag which is not valid anymore.
Then I used the
build
task that successfully created a
_fresh
folder, but when I tried
deno run -A _fresh/main.js
I got the following error :
error: Uncaught (in promise) ReferenceError: history is not defined
    at file:///home/stephane/deno/fresh-project/_fresh/main.js:1:7893

Is it an expected behaviour ?
Was this page helpful?