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

Error deploying to next js applications #11

Open
vandsonfalcao opened this issue Aug 8, 2022 · 2 comments
Open

Error deploying to next js applications #11

vandsonfalcao opened this issue Aug 8, 2022 · 2 comments

Comments

@vandsonfalcao
Copy link

create next-app --typescript

pkg.json

{
  "name": "testvlibras",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  },
  "dependencies": {
    "@djpfs/react-vlibras": "^2.0.2",
    "next": "12.2.4",
    "react": "18.2.0",
    "react-dom": "18.2.0"
  },
  "devDependencies": {
    "@types/node": "18.6.5",
    "@types/react": "18.0.17",
    "@types/react-dom": "18.0.6",
    "eslint": "8.21.0",
    "eslint-config-next": "12.2.4",
    "typescript": "4.7.4"
  }
}

Screenshot from 2022-08-08 17-48-18
Screenshot from 2022-08-08 17-50-30

_app.tsx

import "../styles/globals.css";
import type { AppProps } from "next/app";
import VLibras from "@djpfs/react-vlibras";

function MyApp({ Component, pageProps }: AppProps) {
	return (
		<>
			<Component {...pageProps} />
			<VLibras forceOnload={true} />
		</>
	);
}

export default MyApp;
@juliosouzam
Copy link

same problem here

@FabioAbreuRethink
Copy link

i was able to resolve the problem in parts, just add the "?" on node_modules
image
there are some erros poping in application but seems working fine
image

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

3 participants