aladin's avatar
Level 1

Fresh Breeze Install Error

I'm wondering if anyone has run into the following error when trying to install a fresh install of Laravel 11 with Breeze + Vue:

/PhpstormProjects/myapp/node_modules/vue-tsc/index.js:34 throw err; ^ Search string not found: "/supportedTSExtensions = .*(?=;)/"

Steps to reproduce the problem:

  1. Command: laravel new
  2. Name the project: 'myapp'
  3. Starter kit: Laravel Breeze
  4. Breeze stack: Vue with Inertia
  5. Optional features: Dark mode, Inertia SSR, TypeScript
  6. Testing framework: Pest
  7. Database: SQLite
  8. Migration: No migration

Everything installs but once it gets to "Installing and building Node dependencies" it errors out with error above.

I'm running Node.js v18.20.5.

Any thoughts/help would be much appreciated.

Thanks.

0 likes
4 replies
aladin's avatar
Level 1

I should note that I've also tried with Node v22.11.0 and npm version 10.9.0 but the same error gets thrown.

Muetze's avatar

Same error

        "typescript": "^5.6.3",
        "vite": "^5.4.9",
        "vue": "^3.4.0",
        "vue-tsc": "^2.1.6"
mouse0270's avatar

@Muetze If you do "typescript": "^5.6.3" its just going to install a version that is greater than or equal to 5.6.3. You have to do "typescript": "5.6.3" instead.

Please or to participate in this conversation.