Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Cvetan's avatar

What VSCode packages do I need to get npm, Laravel mix autocompletion?

In the Laravel Mix series, Jeffrey gets autocompletion all around while demonstrating various Mix functions?

What packages do I need to get those? I installed nom intellisense, Javascript and Typescript intellisense, Node.js Modules intellisense, but I don't get suggestions?

Can you share your installed packages?

0 likes
8 replies
Cvetan's avatar

I installed eslint, but still don't get completion for Laravel Mix.

Cvetan's avatar

One more thing, when I hover on require statement for Laravel mix I get this message:

Could not find a declaration file for module 'laravel-mix'. '/var/www/html/cvetansimsic/node_modules/laravel-mix/src/index.js' implicitly has an 'any' type. Try npm install @types/laravel-mix if it exists or add a new declaration (.d.ts) file containing declare module 'laravel-mix';

Please or to participate in this conversation.