Next.js: 9.1.6. Cannot find module '@babel/helper-create-regexp-features-plugin'

Created on 18 Dec 2019  路  5Comments  路  Source: vercel/next.js

Bug report

After upgrading to Next 9.1.6 I am having a problem running my next js server locally. I get

./resources/images/logo.svg
Error: Cannot find module '@babel/helper-create-regexp-features-plugin'

Describe the bug

The problem with @next/bundle-analyzer latest, if I keep Next 9.1.6 and @next/bundle-analyzer 9.1.5 everything work fine.

Screenshots

Screen Shot 2019-12-18 at 08 49 17

System information

  • OS: macOS
  • Browser: all
  • Version of Next.js: 9.1.6

Additional context

Also I have used @svgr/webpack

please add a complete reproduction

Most helpful comment

@c0b41 thanks, I have deleted node_modules and reinstall, the problem was fixed.

All 5 comments

A clear and concise reproduction wasn't provided as asked for in the issue template.

@timneutkens i think last relaese broke something but i am not sure what is broken? i get similar message for some module, but clean npm install fixes problem.

Again:

A clear and concise reproduction wasn't provided as asked for in the issue template.

We have tons of integration tests.

@c0b41 thanks, I have deleted node_modules and reinstall, the problem was fixed.

Is there a programmatically way to fix it, I have a devops flow that sometimes breaks cause of this error... if I do a empty commit again it works

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Timer picture Timer  路  60Comments

Timer picture Timer  路  87Comments

ematipico picture ematipico  路  66Comments

baldurh picture baldurh  路  74Comments

tomaswitek picture tomaswitek  路  73Comments