Skip to content

Not working with latest @loadable/server & @loadable/babel-plugin v5.16.0 version #971

@denchiklut

Description

@denchiklut

🐛 Bug Report

After updating @loadable/server and @loadable/babel-plugin to version v5.16.0 started having an error:
loadable: SSR requires '@loadable/babel-plugin', please install it

To Reproduce

Steps to reproduce the behavior:
Install latest "@loadable/server" and "@loadable/babel-plugin" version "5.16.0"
Run the app
You will see the message: loadable: SSR requires '@loadable/babel-plugin', please install it

Expected behavior

It should work the same way it worked with previous versions

Link to repl or repo (highly encouraged)

denchiklut/ssr-boilerplate#11

  • switch to the feat/update branch:
  • yarn install
  • yarn dev (u will see an error "loadable: SSR requires @loadable/babel-plugin, please install it")

To see working version:

  • switch to the main branch
  • yarn install
  • yarn dev (this time everything will work)
## System:
 - OS: macOS 13.4.1
 - CPU: (8) arm64 Apple M1 Pro
 - Memory: 63.30 MB / 32.00 GB
 - Shell: 5.9 - /bin/zsh
## Binaries:
 - Node: 18.14.0 - ~/.nvm/versions/node/v18.14.0/bin/node
 - Yarn: 1.22.19 - ~/.nvm/versions/node/v18.14.0/bin/yarn
 - npm: 9.3.1 - ~/.nvm/versions/node/v18.14.0/bin/npm
## npmPackages:
 - @loadable/babel-plugin: 5.16.0 => 5.16.0 
 - @loadable/component: ^5.15.3 => 5.15.3 
 - @loadable/server: 5.16.0 => 5.16.0 
 - @loadable/webpack-plugin: ^5.15.2 => 5.15.2 

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions