EnAccess / micropowermanager

Open Source Management Tool for Decentralized Utilities.
https://micropowermanager.io/
MIT License
2 stars 4 forks source link

Local development setup not working on Windows 11/WSL2 #264

Closed dmohns closed 2 months ago

dmohns commented 2 months ago

On a Windows 11 setup with WSL2 running docker compose up fails the ui container with

2024-08-26 15:25:25 
2024-08-26 15:25:25 > serve
2024-08-26 15:25:25 > vue-cli-service serve
2024-08-26 15:25:25 
2024-08-26 15:25:27  INFO  Starting development server...
2024-08-26 15:25:30 Browserslist: caniuse-lite is outdated. Please run:
2024-08-26 15:25:30   npx update-browserslist-db@latest
2024-08-26 15:25:30   Why you should do it regularly: https://github.com/browserslist/update-db#readme
 ERROR  Failed to compile with 1 error1:25:48 PM
2024-08-26 15:25:48 
2024-08-26 15:25:48  error  in ./src/main.js
2024-08-26 15:25:48 
2024-08-26 15:25:48 Syntax Error: Error: EACCES: permission denied, mkdir '/usr/app/node_modules/.cache'
2024-08-26 15:25:48 
2024-08-26 15:25:48 
ERROR in ./src/main.js
2024-08-26 15:25:49 Module build failed (from ./node_modules/babel-loader/lib/index.js):
2024-08-26 15:25:49 Error: EACCES: permission denied, mkdir '/usr/app/node_modules/.cache'
2024-08-26 15:25:49 
2024-08-26 15:25:49 webpack compiled with 1 error