简体   繁体   中英

Can I develop a new Laravel project displaying a 'Missing npm modules' warning in Netbeans?

I am trying to learn Laravel.

I installed it and created a project.

Using Netbeans I see an error mark on the project name that says:

Missing npm modules.

I installed node.js, clicked resolve, pointed the paths to node.exe and npm.cmd

I still see the error, NetBeans says:

npm(myproject) Running.

The error is still there but now when I click Resolve , the sentence “Missing npm modules” is greyed out, and the Resolve button does nothing.

Is there anything else I should do?

Do I need to do all of this to develop with Laravel?

Can I just continue developing with this error?

No you don't. Node packages are required for asset management, which you can actually do without, or simply install your own set of tools. For your case, simply run

npm install

Make sure you have node installed

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM