sr57's avatar
Level 39

Finished. Please run Mix again?

When I run "npm run dev" I get this message, it's clear but I'm not comfortable with it.

Why it appears? (Why everything is not done in one pass?)

Is there a config in package.json to avoid this?

0 likes
14 replies
Sinnbeck's avatar

Ive never heard of such a message. Can you post a screenshot?

sr57's avatar
Level 39

Ive never heard of such a message

Nice to read this, I'll go deeper next time

Can you post a screenshot?

not able to reproduce the situation now.

Thanks

Sinnbeck's avatar

Then most likely @piljac1 is right and you were missing some module, that was installed :)

saggytheboss's avatar

@Sinnbeck Hello sir I have the same issue and I run npm run dev again and this is the issue I get again. Please Help me

E:\akbook-nepal-master\akbook-nepal>npm run dev

dev npm run development

development mix

    Additional dependencies must be installed. This will only take a moment.

    Running: npm install resolve-url-loader@^5.0.0 --save-dev --legacy-peer-deps

    Finished. Please run Mix again.

E:\akbook-nepal-master\akbook-nepal>npm run dev

dev npm run development

development mix

× Mix Compiled with some errors in 4.34s

● Mix █████████████████████████ done (99%) plugins

ERROR in /js/app Module not found: Error: Can't resolve 'E:\akbook-nepal-master\akbook-nepal\resources\sass\app.scss' in 'E:\akbook-nepal-master\akbook-nepal'

webpack compiled with 1 error

piljac1's avatar
piljac1
Best Answer
Level 28

My guess is that some dependencies were installed when you ran npm run dev. If that's the case, you shouldn't see this message anymore because they're now installed. It asks you to run it again to make sure everything gets compiled correctly by using the previously missing dependencies.

2 likes
sr57's avatar
Level 39

My guess is that some dependencies were installed when you ran npm run dev

Didn't know it can arrive. I'll check package.json change next time.

Thanks

MikaelSchultz's avatar

I got this message as well. Running npm install && npm run dev one more time solved the issue for me.

13 likes
robatoh's avatar

I tried it as well and solved the problem.

3 likes
Gass's avatar

Same here. Thanks for the suggestion.

1 like
General_Panga's avatar

@MikaelSchultz i got this error:1 WARNING in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details). Fixed it with:npm install [email protected] --save-exact Then did the npm install && npm run dev

Dishant's avatar

This may be due to some error when you ran npm install && npm run dev

Just Run .. npm run dev

it will solve this .. it will compile mix packages .

1 like
khurramknf's avatar

You're right. No need to npm install dev again. just running .. npm run dev solved the issue. Thanks

bislah366's avatar

before you run "npm install && npm run dev" . first try this "php artisan ui react" and then "npm install && npm run dev". it worked for me with single go.

1 like

Please or to participate in this conversation.