You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sm new project: scaffold pins @simplemodule/client@^0.0.37 but npm only has 0.0.36 (npm install fails: notarget) #219
sm new project (CLI 0.0.37) pins the frontend package @simplemodule/client to ^0.0.37, but that version is not published to npm (latest is 0.0.36). npm install fails immediately.
Repro
sm new project InvoiceManager # CLI 0.0.37, pins SimpleModule.* NuGet 0.0.37cd InvoiceManager
npm install
Actual
npm error notarget No matching version found for @simplemodule/client@^0.0.37.
npm error notarget In most cases you or one of your dependencies are requesting
npm error notarget a package version that doesn't exist.
So the NuGet packages were published at 0.0.37 but the npm @simplemodule/client (and likely the other @simplemodule/* npm packages) were not — the scaffold pins the npm deps to the same version as the framework, producing an uninstallable package.json.
Suggested fix
Publish the @simplemodule/* npm packages in lockstep with the NuGet release, or
Have sm new project resolve the latest published npm version (mirroring how NuGetVersionResolver resolves the NuGet version) rather than assuming the framework version exists on npm.
Activity
fix(cli): resolve scaffold build/runtime bugs (#218, #219, #221, #225, …
antosubash commentedon Jun 3, 2026
Fixed in #231 (merged db8be0e). Verified the fix is present on
main.