Open Kukindoo opened 5 months ago
@Kukindoo has this been resolved? or have you tried reinstalling homestead?
you need to run npm outside of vagrant so in your command prompt goto the laravel folder then you can run npm install
that will ensure that npm is installed
Yes. I have installed/reinstalled homestead on various machines, and my co-workers attempted this as well, with the same result.
We used homestead as all-in-one solution, as some of the machines do not have npm
installed.
When I run vagrant
Versions
Host operating system
Windows 10
Homestead.yaml
Expected behavior
npm installing the packages
Actual behavior
vagrant@homestead:~/code/pmmrc$ npm run build npm ERR! code ENOTSUP npm ERR! syscall read npm ERR! errno -95 npm ERR! Could not read package.json: Error: ENOTSUP: operation not supported on socket, read
vagrant@homestead:~/code/pmmrc$ sudo npm install npm ERR! code ERR_INVALID_ARG_TYPE npm ERR! The "path" argument must be of type string or an instance of Buffer or URL. Received null
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-06-13T00_23_22_908Z-debug-0.log
Steps to reproduce