Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Walltech

Pages: [1]
1
Help for ParamQuery Pro / Unable to build in vue
« on: January 18, 2021, 09:06:46 am »
  My Vue project can run normally in the development environment after introducing pqgrid, but the project cannot be packaged. After executing "npm run build", you are stuck in the "building for production..." step all the time, and then an error is reported after waiting for a long time. When the pqgrid and related dependencies are not added, the "npm run build" command can be executed normally. The error information is:" FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory".
  I already tried to increase the memory by adding --max_old_space_size=4096 and even tried to change it to 8192, but to no avail. I am using a Windows with 8 GB of RAM so I'm not sure why this is happening.This is the code I run for npm run build:"vue-cli-service build --max_old_space_size=4096".

2
Help for ParamQuery Pro / Re: Unable to build problems in Vue environment
« on: January 18, 2021, 08:29:39 am »
I have also encountered this problem.I already tried to increase the memory by adding --max_old_space_size=4096 and even tried to change it to 8192, but to no avail. I am using a Windows with 8 GB of RAM so I'm not sure why this is happening.
Have you solved it?

Pages: [1]