Hi Team!!
I have problem when I try compile starterkit the laravel with command npm run dev. I have followed the step by step showed in the "Getting Started".
I have searched info about message, but i can't solve this problem.
Please, your help!
TypeError: Class extends value #<Object> is not a constructor or null
at Object.<anonymous> (C:\portal\node_modules\npm\node_modules\tar\lib\read-entry.js:91:4)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (C:\portal\node_modules\npm\node_modules\tar\lib\pack.js:27:19)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
Hi,
One possible solution is to update your Node.js and npm to the latest versions. You can download the latest Node.js installer from here. It's is recommended to use Node.js version 18.
https://nodejs.org/en
After installing Node.js, you can update npm by running the following command in your terminal:
npm install -g npm@latest