Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pnpm run build fails #12

Open
bakudan-otaku opened this issue Oct 9, 2024 · 0 comments
Open

pnpm run build fails #12

bakudan-otaku opened this issue Oct 9, 2024 · 0 comments

Comments

@bakudan-otaku
Copy link

bakudan-otaku commented Oct 9, 2024

Thanks for the project, I tried to follow the pnpm guide to build a clean docker image, but the pnpm run build fails:

node@95519d682840:~/app$ pnpm install
... Runs without Errors, only warnings:
 WARN  deprecated [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options.
 WARN  7 deprecated subdependencies found: @esbuild-kit/[email protected], @esbuild-kit/[email protected], @humanwhocodes/[email protected], @humanwhocodes/[email protected], [email protected], [email protected], [email protected]
...
node@95519d682840:~/app$ pnpm run build

> [email protected] build /home/node/app
> next build

Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry

  ▲ Next.js 14.2.15
  - Environments: .env

   Creating an optimized production build ...
 ✓ Compiled successfully
   Linting and checking validity of types  .Failed to compile.

./src/app/page.tsx:18:26
Type error: Cannot find module '~/components/MadeWithKodu' or its corresponding type declarations.

  16 | import { useEffect, useState } from "react";
  17 | import InstructionsPopup from "~/components/InstructionsPopup";
> 18 | import MadeWithKodu from "~/components/MadeWithKodu";
     |                          ^
  19 | import { useSubscriptionStore } from "~/lib/subscriptionStore";
  20 |
  21 | interface Subscription {
 ELIFECYCLE  Command failed with exit code 1.

Versions:

node@945b41c39fd8:~/app$ pnpm --version
9.12.1
node@945b41c39fd8:~/app$ npm --version
10.8.3
node@945b41c39fd8:~/app$ node --version
v22.9.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant