Hi , The same error is persistently occurring . 
so should I list it in the issue section. 
after I also tried running npx grunt build still gives the same error message.


DELL@DESKTOP-CPI6VGS MINGW64 ~/OneDrive/Desktop/git&github (master)
$ cd afch-rewrite

DELL@DESKTOP-CPI6VGS MINGW64 ~/OneDrive/Desktop/git&github/afch-rewrite (master)
$ npx 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: []
}


On Mon, 10 Jan 2022 at 18:58, Siddharth VP <siddharthvp@gmail.com> wrote:
Try running grunt build manually before npm startIf 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 <somu160202@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 for Windows

 

_______________________________________________
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-leave@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-leave@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/