We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Just like in issue #278 I am receiving the Module not found: Can't resolve 'tslib' error until I install tslib.
Module not found: Can't resolve 'tslib'
tslib
Luckily it seems that it is only required as a devDependency and the error goes away once installing it there.
The text was updated successfully, but these errors were encountered:
This is happening for me too. It works fine locally, but when I deploy to Vercel the Vercel builds fail with:
./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/nextjs-google-analytics/dist/components/GoogleAnalytics.js:4:0 -- 12:10:34.507 | Module not found: Can't resolve 'tslib' 12:10:34.507 | 12:10:34.508 | https://nextjs.org/docs/messages/module-not-found 12:10:34.508 | 12:10:34.508 | Import trace for requested module: 12:10:34.508 | ./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/nextjs-google-analytics/dist/components/index.js 12:10:34.508 | ./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/nextjs-google-analytics/dist/index.js 12:10:34.508 | ./components/Analytics/Analytics.tsx 12:10:34.508 | ./components/Analytics/index.ts 12:10:34.508 | ./pages/_app.page.tsx
To fix this I had to add tslib to my dependencies.
Sorry, something went wrong.
No branches or pull requests
Just like in issue #278 I am receiving the
Module not found: Can't resolve 'tslib'
error until I installtslib
.Luckily it seems that it is only required as a devDependency and the error goes away once installing it there.
The text was updated successfully, but these errors were encountered: