Angular “No native build was found” error in new project (Windows, Node.js 20.14.0)

  Kiến thức lập trình

I’m trying to run a new Angular project but encountering the error “No native build was found” when I execute ng serve. I’ve created a fresh project using npx @angular/cli new admin-angular and haven’t added any custom dependencies yet.

  • Upgraded npm to the latest version (currently npm 10.8.1).
  • Reinstalled project dependencies using npm uninstall && npm install.
  • Checked for compatibility of any native addons (only lmdb shows up in node_modules).
    (If applicable) Verified custom build processes (mention if your project has any)

New contributor

yaman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT