ameerthehacker / blazepack

⚡ Blazing fast dev server powered by sandpack
GNU Lesser General Public License v3.0
234 stars 17 forks source link

react app : _interopRequireDefault is not a function #17

Closed TheRakeshPurohit closed 3 years ago

TheRakeshPurohit commented 3 years ago

steps i followed:

npm i -g blazepack
blazepack create my-cra --template=react
blazepack

Got; _interopRequireDefault is not a function on localhost:3000

running on linux 18.04

npm 7.5.6 node 14.15.1

ameerthehacker commented 3 years ago

@TheRakeshPurohit what is the blazepack version you are using?

jyash97 commented 3 years ago

@TheRakeshPurohit can you confirm you ran the blazepack command in the my-cra folder

ameerthehacker commented 3 years ago

@TheRakeshPurohit this is an upstream issue affecting codesandbox itself https://github.com/codesandbox/codesandbox-client/issues/5506

ameerthehacker commented 3 years ago

@TheRakeshPurohit this has been fixed, please update to latest version of blazepack and try again, feel free to reopen the issue if the issue still persists

TheRakeshPurohit commented 3 years ago

Well, before and after updating blazepack, it works only in private window.

I have noticed that it shows error while i am running local react app in normal tab.

ameerthehacker commented 3 years ago

@TheRakeshPurohit try a hard reload in your normal tab, we are working on purging cache when you update to new versions of blazepack.