plone / create-volto-app

Set up the Volto with a single command
MIT License
9 stars 3 forks source link

New volto projects are broken #33

Closed avoinea closed 3 years ago

avoinea commented 3 years ago

How to reproduce:

create-volto-app my-volto-app
cd my-volto-app
yarn build

Output:

yarn run v1.22.5
$ razzle build
Creating an optimized production build...
Compiling client...
Failed to compile.
./src/client.js
Error: Cannot find module '@babel/plugin-proposal-function-bind' from '/joint/volto/my-volto-app'
    at Array.map (<anonymous>)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Possible solution:

Refs https://github.com/plone/volto/pull/1896

nileshgulia1 commented 3 years ago

Related #18 #19

avoinea commented 3 years ago

Fixed by create-volto-app#6.3.0

$ npm i -g @plone/create-volto-app
$ create-volto-app --version
6.3.0
$ create-volto-app my-volto-app
$ cd my-volto-app
$ yarn build