m-nathani / craco-plugin-micro-frontend

Convert your CRA project into a node library application without ejecting or losing update support of react-scripts
MIT License
4 stars 0 forks source link

'REACT_APP_INJECTABLE' is not recognized as an internal or external command #4

Closed rustyonrampage closed 1 year ago

rustyonrampage commented 1 year ago

I cloned the demo react-bootsrap-main repo and installed the packages. After that when I run the command "npm run build", it runs successfully. however when I run "npm run build:lib", it gives the following error

react-bootstrap-code@7.0.1 build:lib REACT_APP_INJECTABLE=true npm run build

'REACT_APP_INJECTABLE' is not recognized as an internal or external command, operable program or batch file.

rustyonrampage commented 1 year ago

https://stackoverflow.com/questions/11928013/node-env-is-not-recognized-as-an-internal-or-external-command-operable-comman