Skip to content

Error processing package.json.ejs for add-on prisma: ReferenceError: ejs:14 #374

Description

@0zguner

Which project does this relate to?

Create Tanstack App

Describe the bug

Error message

◇  Prisma: Database Provider
│  Prisma PostgreSQL
Error processing package.json.ejs for add-on prisma: ReferenceError: ejs:14
    12|   },
    13|   "scripts": {<% if (addOnOption.prisma.database === 'postgres') { %>
 >> 14|     "post-cta-init": "<%- getPackageManagerExecuteScript('create-db@latest', ['--user-agent', 'tanstack/tsrouter']) %>",<% } %>
    15|     "db:generate": "dotenv -e .env.local -- prisma generate",
    16|     "db:push": "dotenv -e .env.local -- prisma db push",
    17|     "db:migrate": "dotenv -e .env.local -- prisma migrate dev",

getPackageManagerExecuteScript is not defined

Your Example Website or App

none

Steps to Reproduce the Bug or Issue

run the cli

select these add ons

Sentry, Prisma, Compiler, oRPC, Paraglide (i18n), Shadcn, T3Env, Better Auth, Query

Expected behavior

as a user I expected Prisma to be install in the new application

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions