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: Cannot find module '@tailwindcss/line-clamp' #118

Closed
olivsinz opened this issue May 2, 2022 · 3 comments
Closed

Error: Cannot find module '@tailwindcss/line-clamp' #118

olivsinz opened this issue May 2, 2022 · 3 comments

Comments

@olivsinz
Copy link

olivsinz commented May 2, 2022

It occurs when running

npm run dev

During installation.

`
ERROR in ./resources/css/app.css
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/postcss-loader/dist/cjs.js):
Error: Cannot find module '@tailwindcss/line-clamp'
Require stack:

  • ..\shoppertest\vendor\shopper\framework\tailwind.config.js
  • ..\shoppertest\tailwind.config.js
  • ..\shoppertest\node_modules\tailwindcss\lib\lib\setupTrackingContext.js
  • ..\shoppertest\node_modules\tailwindcss\lib\index.js
  • ..\shoppertest\webpack.mix.js
  • ..\shoppertest\node_modules\laravel-mix\setup\webpack.config.js
  • ..\shoppertest\node_modules\webpack-cli\lib\webpack-cli.js
  • ..\shoppertest\node_modules\webpack-cli\lib\bootstrap.js
  • ..\shoppertest\node_modules\webpack-cli\bin\cli.js
  • ..\shoppertest\node_modules\webpack\bin\webpack.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object. (..\shoppertest\vendor\shopper\framework\tailwind.config.js:62:5)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at processResult (..\shoppertest\node_modules\webpack\lib\NormalModule.js:758:19)
    at ..\shoppertest\node_modules\webpack\lib\NormalModule.js:860:5
    at ..\shoppertest\node_modules\loader-runner\lib\LoaderRunner.js:400:11
    at ..\shoppertest\node_modules\loader-runner\lib\LoaderRunner.js:252:18
    at context.callback (..\shoppertest\node_modules\loader-runner\lib\LoaderRunner.js:124:13)
    at Object.loader (..\shoppertest\node_modules\postcss-loader\dist\index.js:142:7)

1 ERROR in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details)
`

@olivsinz
Copy link
Author

olivsinz commented May 2, 2022

The fix can be to notify in the doc to add the @tailwindcss/line-clamp plugin.

@olivsinz
Copy link
Author

olivsinz commented May 2, 2022

Pull request link:

shopperlabs/laravelshopper.dev#1

@mckenziearts
Copy link
Collaborator

Fixed

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

2 participants