feat: Added example for prisma@7#375
Merged
Merged
Conversation
bizob2828
requested changes
Jun 3, 2026
bizob2828
left a comment
Member
There was a problem hiding this comment.
you're missing a sample.env in prisma-wasm folder. also the container fails to build:
> [6/6] RUN npm ci:
0.317 npm error code EUSAGE
0.319 npm error
0.319 npm error The `npm ci` command can only install with an existing package-lock.json or
0.319 npm error npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or
0.319 npm error later to generate a package-lock.json file, then try again.
You have to change npm ci to npm install
Also in readme this line:
docker exec -i prisma-app-app-1 bash -c './make-requests.sh'
should be
docker exec -i prisma-wasm-app-1 bash -c './make-requests.sh'
Contributor
Author
.... all of that is from |
bizob2828
reviewed
Jun 4, 2026
| @@ -7,5 +7,5 @@ Get it running: | |||
| 1. Copy sample.env to .env | |||
Contributor
Author
There was a problem hiding this comment.
newrelic-node-examples/prisma/prisma-wasm on prisma-7-js [?]
❯ ls -la
total 64
drwxr-xr-x@ 11 jsumners staff 352 Jun 4 08:39 .
drwxr-xr-x@ 5 jsumners staff 160 May 14 14:54 ..
-rw-r--r-- 1 jsumners staff 243 Jun 4 08:39 .env
-rw-r--r--@ 1 jsumners staff 21 Dec 1 2023 .gitignore
-rw-r--r--@ 1 jsumners staff 19 Jun 24 2024 .npmrc
drwxr-xr-x@ 7 jsumners staff 224 Feb 28 2025 app
-rw-r--r--@ 1 jsumners staff 502 Dec 1 2023 docker-compose.yml
-rw-r--r--@ 1 jsumners staff 202 Jun 4 08:40 Dockerfile
-rwxr-xr-x@ 1 jsumners staff 155 Jun 18 2024 entrypoint.sh
-rw-r--r--@ 1 jsumners staff 488 Jun 4 08:33 README.md
-rw-r--r--@ 1 jsumners staff 247 Jun 4 08:32 sample.env
bizob2828
approved these changes
Jun 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I believe this PR resolves newrelic/node-newrelic#3525. This PR shows how to utilize Prisma's own instrumentation module to instrument a Prisma based application and review said trace data within the New Relic dashboard.
prisma/prisma-wasm/.prisma/prisma-7-js/.