ciao!
dentro al file vue.config.js ho aggiunto un valore:
quando avvio il progetto la prima volta mi da questo errore:codice:module.exports = { publicPath: process.env.NODE_ENV === 'production' ? '/sakai-vue' : '/', remotePath: 'https://www.sito.it/api' }
commento la riga, avvio il progetto e la decommento e funziona tutto.codice:> sakai-vue@3.3.0 serve D:\PROJECT\vue-sport > vue-cli-service serve ERROR Invalid options in vue.config.js: "remotePath" is not allowed npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! sakai-vue@3.3.0 serve: `vue-cli-service serve` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the sakai-vue@3.3.0 serve script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Pc\AppData\Roaming\npm-cache\_logs\2022-02-07T14_45_57_832Z-debug.log
sapreste darmi una motivazione??

Rispondi quotando