Closed Mte90 closed 1 year ago
Probably the issue is the fact that NPM takes woo much memory and the VM with 4096mb of ram and 2 cores is not enough to execute npm all together. Now the error in the package changed as example.
I am trying now commands like NODE_OPTIONS=--max_old_space_size=1000; npm install
as example
I think working out of the src
folder was always going to generate that kind of output, hence why we serve the build
folder
How much RAM does the VM need to be able to do this? If we know the minimum or recommended it would be good to make the site provisioner check and warn the user. This also helps with situations where someone tries to limit the VMs footprint putting the RAM as low as 2GB or 1GB then encountering issues provisioning the core contributor site
Tried with also 10gb of ram and more cpu the error is still there so I have no idea what is happening...
It is a bug in wordpress package.json and not in VVV.
Confirmed that this fixed we are evaluating what to do https://github.com/hashicorp/vagrant/issues/11842
Are you using the latest stable or develop branch version of VVV?
Yes (develop)
Is it a new VVV, or an existing VVV that used to work?
Existing, worked but now broken
Did you use a CustomFile?
No (default)
Whats the problem?
As now https://github.com/Varying-Vagrant-Vagrants/custom-site-template-develop you get a 403.
There are various NPM issues but apart that the nginx.conf generated https://github.com/Varying-Vagrant-Vagrants/custom-site-template-develop/blob/master/provision/vvv-nginx-default.conf#L5 point to the
build
folder also if it is empty.Changing the nginx conf to
src
folder shows this page:The issues on NPM are now on installing as there is an issue with a package:
I am on this
How do we reproduce it?
No response
What is the output of
vagrant status
Which Operating System are you using?
Apple MacOS (Intel)
Which provider are you using?
VirtualBox 7