โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ npm update check failed โ
โ Try running with sudo or get access โ
โ to the local update config store via โ
โ sudo chown -R $USER:$(id -gn $USER) /Users/mac/.config โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
npx: installed 5 in 10.68s
Watching /Users/mac/Desktop/my-app and all sub-directories not excluded by your .gitignore. Will not monitor dotfiles.
Found & ignored ./node_modules ; is listed in .gitignore
Error: Cannot find module โ/Users/mac/Desktop/my-app/buildโ
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:609:15)
at Function.Module._load (internal/modules/cjs/loader.js:535:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:797:12)
at executeUserCode (internal/bootstrap/node.js:526:15)
at startMainThreadExecution (internal/bootstrap/node.js:439:3)
Can you explain in more detail what is the issue youโre having and the steps to reproduce it?
The command to generate the build is npx frontity build and it looks is working for you properlyโฆ
Macs-MacBook-Air:behelpme mac$ npx frontity build
mode: production
Building es5 bundle
Building module bundle
Building server bundle
Macs-MacBook-Air:behelpme mac$
after this commend [ npx frontity build ]
mode: production
Building es5 bundle
Building module bundle
Building server bundle
those line showing and noting happened also in my folder noting has build
and if i run npx run build
getting those error
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ npm update check failed โ
โ Try running with sudo or get access โ
โ to the local update config store via โ
โ sudo chown -R $USER:$(id -gn $USER) /Users/mac/.config โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
npx: installed 5 in 10.68s
Watching /Users/mac/Desktop/my-app and all sub-directories not excluded by your .gitignore. Will not monitor dotfiles.
Found & ignored ./node_modules ; is listed in .gitignore
Error: Cannot find module โ/Users/mac/Desktop/my-app/buildโ
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:609:15)
at Function.Module._load (internal/modules/cjs/loader.js:535:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:797:12)
at executeUserCode (internal/bootstrap/node.js:526:15)
at startMainThreadExecution (internal/bootstrap/node.js:439:3)
Note that npx frontity build generates a build folder in the root directory of your project, and it doesnโt generate HTML files but the JavaScript server and client files.
If you have problems running npx frontity build first try removing that folder before.
After your Frontity project was built, you can execute it with npx frontity serve.