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

Latest 8.1.1-canary.55 version compatibility issue with next-css plugin #7632

Closed
jishaal opened this issue Jun 22, 2019 · 4 comments
Closed

Comments

@jishaal
Copy link

jishaal commented Jun 22, 2019

Bug report

Describe the bug

While attempting to run the with-linaria example which uses the next-css plugin, I found the following error gets thrown when using the latest canary build of next.js 8.1.1-canary.55

{ Error: Cannot find module 'webpack'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:690:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/sandbox/node_modules/extract-css-chunks-webpack-plugin/dist/index.js:11:16)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3) code: 'MODULE_NOT_FOUND' }

To Reproduce

See https://codesandbox.io/s/nextjs-811-canary55-bug-8gtqi

Downgrading the version of next.js to 8.1.1-canary.54 fixes the error

Expected behavior

There is no error

System information

  • OS: macOS
  • Version of Next.js: 8.1.1-canary.55
@nikitowsky
Copy link
Contributor

Same issue with next-sass package.

@nblthree
Copy link
Contributor

I think it's caused here #7628
Cc @guybedford

@Timer
Copy link
Member

Timer commented Jun 24, 2019

This will be fixed in the next canary. Sorry for the noise!

@Timer Timer closed this as completed Jun 24, 2019
@jishaal
Copy link
Author

jishaal commented Jun 25, 2019

Thanks team!

@lock lock bot locked as resolved and limited conversation to collaborators Jun 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants