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.

Need to disable notifications for v1.4.2 and macOS v10.12.6

See original GitHub issue
  • Laravel Mix Version: 1.4.2
  • Node Version: 8.2.1
  • NPM Version: 5.3.0
  • OS: macOS 10.12.6

Description:

Running npm run dev or npm run hot fails at 95% emitting with the following error

internal/child_process.js:325
    throw errnoException(err, 'spawn');
    ^

Error: spawn EACCES
    at exports._errnoException (util.js:1024:11)
    at ChildProcess.spawn (internal/child_process.js:325:11)
    at exports.spawn (child_process.js:493:9)
    at Object.exports.execFile (child_process.js:208:15)
    at Object.module.exports.fileCommand (/Users/sahib/code/sites/payments/node_modules/node-notifier/lib/utils.js:53:13)
    at NotificationCenter.notify (/Users/sahib/code/sites/payments/node_modules/node-notifier/notifiers/notificationcenter.js:66:11)
... bla bla bla ...

If I use disableNotifications() on my webpack.mix.js file everything works fine.

I’m not sure if its related to the latest update of macOS that I just installed today in the morning.

Steps To Reproduce:

A fresh install laravel new xyz --dev and run yarn, then npm run dev.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:18 (4 by maintainers)

github_iconTop GitHub Comments

7reactions
ruchernchongcommented, Sep 17, 2017

@straube Delete your node_modules folder and try again.

6reactions
straubecommented, Sep 9, 2017

@ruchern Unfortunately, I have npm 5.4.1 and I’m still getting the same error. Do you know if I have to update the permissions for global packages after updating npm?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Need to disable notifications for v1.4.2 and macOS v10.12.6
Laravel Mix Version: 1.4.2 Node Version: 8.2.1 NPM Version: 5.3.0 OS: macOS 10.12.6 Description: Running npm run dev or npm run hot fails...
Read more >
Turn off notifications for an app or website on Mac
Click an app or website on the right, then turn off “Allow notifications.” You won't receive notifications for it until you turn on...
Read more >
How to turn off annoying notifications on Mac? - MacPaw
1. Turn off notifications temporarily using Do Not Disturb · Click on the Apple menu and choose System Preferences. · Press on Notifications....
Read more >
How to Turn Off All Annoying Notification in MacOS - YouTube
Disable All Apps Notification in MacOSSafari, Mail, Contacts, Calendar, Reminders, Notes, Maps, Messages, FaceTime, Photo Booth, Photos, ...
Read more >
How to turn off notifications on Mac: 4 Easy ways - iGeeksBlog
Go to System Preferences → Notifications. Select the app for which you want to disable sound for notifications. Uncheck the Play sound for ......
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