question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

laravel 5.4 dependency not found

See original GitHub issue

`> npm run development

@ development /Users/mohamed/Projets/concoursWebsite cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js

95% emitting

ERROR Failed to compile with 1 errors 19:50:22

This dependency was not found:

  • /Users/mohamed/Projets/concoursWebsite/resources/assets/js/app.js in multi ./resources/assets/js/app.js

To install it, you can run: npm install --save /Users/mohamed/Projets/concoursWebsite/resources/assets/js/app.js Asset Size Chunks Chunk Names /js/app.js 2.64 kB 0 [emitted] /js/app npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! @ development: cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js npm ERR! Exit status 2 `

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
JeffreyWaycommented, Jul 12, 2017

Yep, this is an npm 5.2 issue. Downgrade until they patch it up.

0reactions
barrasmecommented, Sep 1, 2017

So I decided to see what the difference was between the projects,

I literally replaced the following from the new project to the old. node_modules package.json webpack.mix.js

Read more comments on GitHub >

github_iconTop Results From Across the Web

laravel 5.4 dependency not found · Issue #992 - GitHub
I have just set up a brand new Laravel installation and the webpack task works fine. I've updated the Laravel 5.5 on my...
Read more >
webpack - Laravel Mix: These dependencies were not found
I have a fresh install of Laravel 5.4. I as well have the folowing versions installed on my Windows PC node: 6.11.0 npm:5.0.3....
Read more >
Upgrade Guide - The PHP Framework For Web Artisans
Update your laravel/framework dependency to 5.4.* in your composer.json file ... Now, the method will return null if no policy is found for...
Read more >
Events - Laravel - The PHP Framework For Web Artisans
This command will generate any events or listeners that are listed in your EventServiceProvider that do not already exist: php artisan event:generate.
Read more >
HTTP Requests - The PHP Framework For Web Artisans
When using dynamic properties, Laravel will first look for the parameter's value in the request payload. If it is not present, Laravel will...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found