blog.r00ks icon indicating copy to clipboard operation
blog.r00ks copied to clipboard

Error when run next start

Open Lzyct opened this issue 2 years ago • 3 comments

Hi @Austionian, I'm trying to run your project in my local machine with this command

yarn install; yarn build; yarn serve

No error when I run that command, but when I check the web console, I got this error

image

That make search and some functions not working

Thanks

Lzyct avatar Nov 10 '22 05:11 Lzyct

Hi @Lzyct, could you try installing with npm instead of yarn? Yarn might be missing some legacy dependencies since it's not looking at npm's package-lock.json file when installing.

npm i && npm run dev

Austionian avatar Nov 10 '22 15:11 Austionian

Thanks, I think the issue when I'm using yarn

Lzyct avatar Nov 10 '22 16:11 Lzyct

Sorry, I re open this issue, I got the same error when run it from build

image image image image

Lzyct avatar Nov 10 '22 16:11 Lzyct