Whenever I attempt to run Gulp using the task runner, I am encountering this error message. I suspect it may be due to updating my npm project, but I'm unsure about how to resolve it. Should I try installing a different version of npm?
>Failed to run "C:\WebProjects\ITF\Tool.Web\Gulpfile.js"...
cmd.exe /c gulp --tasks-simple
fs.js:47
} = primordials;
^
The ReferenceError points out that 'primordials' is not defined at fs.js:47:5.
C:\WebProjects\ITF\Tool.Web>npm ls natives
<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="b0c4dfdfdcc3f0819e809e80">[email protected]</a> C:\WebProjects\ITF\Tool.Web
`-- <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="eb8c9e879babd8c5d2c5da">[email protected]</a>
`-- <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="44322d2a3d2869223704746a776a75507f717a75">[email protected]</a>
`-- <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="0c6b7e6d6f696a7960216a7f4c367787a777b9104051a2110317">[email protected]</a>
`-- <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="6b050a1f021d0e182b5a455a455d">[email protected]</a>
Current Version:
C:\WebProjects\ITF\Tool.Web>npm -v
8.5.5