Describe the Bug
I can not run npm create mastra@latest due to enterprise npm feed policy. However, when I attempt to install an older version (eg. npm create mastra@1.3.14), the install script still attempts to install @latest.
Here is the err output:
Project creation failed: Failed to install Mastra CLI: Failed to install mastra@latest: Command failed: npm install --audit=false --fund=false --loglevel=error --progress=false --update-notifier=false -D mastra@latest
npm error code ETARGET
npm error notarget No matching version found for @mastra/schema-compat@1.2.7.
npm error notarget In most cases you or one of your dependencies are requesting
npm error notarget a package version that doesn't exist.
npm error A complete log of this run can be found in: /Users/xxxxx/.npm/_logs/2026-04-12T06_53_03_938Z-debug-0.log
Steps To Reproduce
- run
npm create mastra@1.3.14
Link to Minimal Reproducible Example
NA
Expected Behavior
All npm packages should be of the same version as is being installed.
Environment Information
Verification
Describe the Bug
I can not run
npm create mastra@latestdue to enterprise npm feed policy. However, when I attempt to install an older version (eg.npm create mastra@1.3.14), the install script still attempts to install @latest.Here is the err output:
Steps To Reproduce
npm create mastra@1.3.14Link to Minimal Reproducible Example
NA
Expected Behavior
All npm packages should be of the same version as is being installed.
Environment Information
Verification