[Pkg-javascript-devel] Bug#958769: Bug#958769: Bug#958769: Bug#958769: node-react: Package fail to build with node-rollup-plugin-babel 4.4.0

Pirate Praveen praveen at onenetbeyond.org
Tue Apr 28 16:03:39 BST 2020



On Tue, Apr 28, 2020 at 4:54 pm, Pirate Praveen 
<praveen at onenetbeyond.org> wrote:
> I'm trying to build react-window from source and getting an error,
> 
> # Build embedded copy of react-window
> cd packages/react-devtools-shared/src/node_modules/react-window && \
> mkdir -p dist && \
> cp flow-template dist/index.cjs.js.flow && \
> cp flow-template dist/index.esm.js.flow && \
> rollup -c
> 
> ./src/index.js → dist/index.cjs.js...
> [!] (babel plugin) SyntaxError: 
> /<<PKGBUILDDIR>>/packages/react-devtools-shared/src/node_modules/react-window/src/VariableSizeGrid.js: 
> Unexpected token (5:12)

ok found out the issue, I need to include babel.config.js as well from 
the source git repo.



More information about the Pkg-javascript-devel mailing list