Try running grunt build manually before npm start. If grunt build doesn't work, try npx grunt build.
If the issue persists, please use the project-specific issue board which in this case is https://github.com/WPAFC/afch-rewrite/issues On Mon, 10 Jan 2022 at 17:44, Ameygupta <somu160...@gmail.com> wrote: > Hi , I tried hard for setting-up development environment but kept this > facing this same issue in regularly . > > > > ERROR: > > [ > > DELL@DESKTOP-CPI6VGS MINGW64 ~/OneDrive/Desktop/git&github/afch-rewrite > (master) > > $ npm install > > > > up to date, audited 575 packages in 4s > > > > 51 packages are looking for funding > > run `npm fund` for details > > > > 4 vulnerabilities (2 moderate, 2 high) > > > > To address all issues (including breaking changes), run: > > npm audit fix --force > > > > Run `npm audit` for details. > > > > DELL@DESKTOP-CPI6VGS MINGW64 ~/OneDrive/Desktop/git&github/afch-rewrite > (master) > > $ npm start > > > > > afch-rewrite@0.9.1 start > > > node server.js > > > > No file found at build/afch.css; building it with "grunt build"... > > 'github\afch-rewrite\node_modules\.bin\' is not recognized as an internal > or external command, > > operable program or batch file. > > node:internal/modules/cjs/loader:936 > > throw err; > > ^ > > > > Error: Cannot find module 'C:\Users\DELL\OneDrive\Desktop\grunt\bin\grunt' > > at Function.Module._resolveFilename > (node:internal/modules/cjs/loader:933:15) > > at Function.Module._load (node:internal/modules/cjs/loader:778:27) > > at Function.executeUserEntryPoint [as runMain] > (node:internal/modules/run_main:81:12) > > at node:internal/main/run_main_module:17:47 { > > code: 'MODULE_NOT_FOUND', > > requireStack: [] > > } > > The grunt build failed. Check the output, fix any errors, and try again. > > > > > > ] > > > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows > > > _______________________________________________ > Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org > To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org > https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
_______________________________________________ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/