NexoPOS icon indicating copy to clipboard operation
NexoPOS copied to clipboard

[Issue] npm run build error NexoPos 5.2.3

Open dwikychandra21 opened this issue 9 months ago • 3 comments

Describe the bug I got an issue when running command npm run build. but running well when i run php artisan serve

To Reproduce Steps to reproduce the behavior:

  1. run composer install
  2. npm install
  3. npm run build
  4. See error

Expected behavior The Asset can build for production perfectly

Screenshots Screenshot 2024-05-02 at 13 05 41

Environment:

  • NexoPOS vesrion: 5.2.3
  • Node version: 18.17.0

dwikychandra21 avatar May 02 '24 05:05 dwikychandra21

Hi, thank you for reporting this. Vue doesn't seems installed, have you tried:

npm run install

This should install the node packages. Let us know how it goes.

Blair2004 avatar May 02 '24 13:05 Blair2004

@Blair2004 your package.json is not included the Vue library, can you please add it?

dwikychandra21 avatar May 05 '24 06:05 dwikychandra21

Thank you for reporting... added here https://github.com/Blair2004/NexoPOS/commit/170a7d72aa0dc8c47f979fff880b33425dbdb5bc Use this branch

Blair2004 avatar May 05 '24 09:05 Blair2004