44

On macOS Catalina 10.15.3, I am getting the below error message while running npm run dev or npm run watch. It seems like something to do with nodejs but no idea know how to resolve it.

“fse.node” cannot be opened because the developer cannot be verified. macOS cannot verify that this app is free from malware.

enter image description here

Code Lover
  • 8,099
  • 20
  • 84
  • 154

3 Answers3

76

Go to System preferences > Security & privacy > General and you should see a "Allow anyway" button below. Click. That's it. (When that info box appear on screen)

You may need repeat this action couple of times.

30

The accepted answer worked for me, but I had to click on "cancel" for the option "Allow anyway" to appear in system preferences.

So if you don't see the "Allow Anyway" button, try clicking "cancel" on the popup.

Screenshot of the system preferences pane Security & Privacy

Félix Paradis
  • 5,165
  • 6
  • 40
  • 49
19

If you received a project, and didn't run npm install yourself, you might ended up with a /node_modules folder (it might be a hidden folder by default) with modules that doesn't have the good authorisations on your computer.

The good way, IMO:

  • remove node_modules;
  • npm install;
  • npm run dev (or similar) should work now.
Nephelococcygia
  • 726
  • 5
  • 11
  • In addition to https://stackoverflow.com/a/59905994/3046255, doing a clean npm install, as you recommend, solved the issue. Thanks! – Patrice Chalin Jul 14 '21 at 14:53