Vue Js npm run build

Par Gastinoking, il y a 9 ans


Bonjour,

Voila je rencontre un petit problème avec la commande npm run build

npm run build de vuejs

npm run build

l'application n'affiche rien quant je click sur l'index.htm généré ds \dist\index.html

5 réponses

Defy, il y a 9 ans

si tu explore la console tu as des erreurs?

Gastinoking, il y a 9 ans

Defy oui d'erreurs .....

le npm run dev

Failed to load resource: net::ERR_FILE_NOT_FOUND file:///C:/static/js/manifest.d9eb65d93cd449e87d14.js Failed to load resource: net::ERR_FILE_NOT_FOUND file:///C:/static/js/vendor.79fa8cac54ef667a9f37.js Failed to load resource: net::ERR_FILE_NOT_FOUND file:///C:/static/js/app.adfe5dd6d2604d569c90.js Failed to load resource: net::ERR_FILE_NOT_FOUND

se sont les erreurs que j'ai
Merci !

Defy, il y a 9 ans

tu as fait un npm install avant de lancer d'autre commande?

Gastinoking, il y a 9 ans

Oui ... je l'ai fait ...

λ npm install npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.14: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

c'est le contenu de ma console

Gastinoking, il y a 9 ans

I need help ... je n'n'ai toujours pas trouver de solutions à build mon projet .......