node.jslaravelprocessmaker

Why does the program throw an exception after executing the "npm install" command?


I'm trying to install ProcessMaker 4.2.30 Community Edition following the steps that can be found on this GitHub: https://github.com/ProcessMaker/processmaker

However, I got stuck on an error after running the npm install command. The thrown error is the following:

ErrorException : mkdir(): File exists at /home/vagrant/processmaker/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:492

For some reason, the command can't be executed, because it detects that the file already exists inside the project, but after checking its contents, said file can't be found inside it. I've tried deleting the project and reinstalling, but it didn't work.


Solution

  • Remove the /storage/api-docs folder and try again.
    This works for me :)