Can't resolve 'elastic-apm-node'
@trentm is already working on this.
Since Aug 1, 2024.
Assessment
This issue has not been assessed yet.
Description
⚠ ./node_modules/.pnpm/@elastic+ecs-winston-format@1.5.3/node_modules/@elastic/ecs-winston-format/index.js
Module not found: Can't resolve 'elastic-apm-node' in '.pnpm/@elastic+ecs-winston-format@1.5.3/node_modules/@elastic/ecs-winston-format'
Should I need to install this? I am not using elastic-apm-node anywhere.
This happens when I trying to integrate with Nextjs. Runs fine otherwise.
export const logger = winston.createLogger({
format: ecsFormat(),
transports: [
new winston.transports.Console(),
new winston.transports.File({ filename: `${outLogPath}/out-json.log` }),
],
});
This seems to be silently ignored in js file but I still get this error logged in NextJS logs.
Any ideas on how to suppress this error?
- Dominant language
- JavaScript
- Stars
- 69
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from elastic/ecs-logging-nodejs
-
Support of pino 9.x Opencommunity triage
Difficulty 5/5 Over a week Newbie friendliness 20/100
elastic/ecs-logging-nodejs#223 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
elastic/ecs-logging-nodejs#222 ·
-
community triage
Difficulty 4/5 3-5 days Newbie friendliness 25/100
elastic/ecs-logging-nodejs#184 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
elastic/ecs-logging-nodejs#183 ·
-
agent-nodejs community
Difficulty 3/5 1-2 days Newbie friendliness 45/100
elastic/ecs-logging-nodejs#168 · 2 comments · 4 reactions ·
All issues in elastic/ecs-logging-nodejs
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·