Running into errors when running the project localy
When I try to run the project on local repo there is errors and the project can't run on localhost
-
Hugo serve
:
ERROR 2023/11/30 09:46:59 The "image" render hook requires Hugo v0.114.0 or later.
-
npm run dev
:
(node:17993) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
/home/antoine/WebstormProjects/tetras-page-doks/node_modules/.bin/exec-bin:2
import { spawn } from 'child_process';
^^^^^^
SyntaxError: Cannot use import statement outside a module