Closed peter-jerry-ye closed 8 months ago
I can reproduce this. @sdirix Could you check whether we do no clean something correctly?
We need to declare the cacheRoot
so that this works out of the box. I'll open a PR.
@peter-jerry-ye see here on how to fix the issue for you locally. For the fix to take effect you should delete the node_modules
as well as any .browser_modules
directories you may currently have.
@peter-jerry-ye see here on how to fix the issue for you locally. For the fix to take effect you should delete the
node_modules
as well as any.browser_modules
directories you may currently have.
I confirm it fixes the issue if we build
then start
. However it seems that yarn watch
can still cause issue.
@peter-jerry-ye see here on how to fix the issue for you locally. For the fix to take effect you should delete the
node_modules
as well as any.browser_modules
directories you may currently have.I confirm it fixes the issue if we
build
thenstart
. However it seems thatyarn watch
can still cause issue.
You are correct. This will be fixed with https://github.com/eclipse-theia/generator-theia-extension/pull/178
@peter-jerry-ye Could you maybe verify the new version on mater with the fixes whether everything works now for you? If you clone this repo and then
npm link
you can test the updated version.
Thanks!
Looks good to me.
Steps to reproduce:
mkdir theia-app
cd theia-app
yo theia-extension
and chooseHello World
with the default nameyarn build:electron
yarn start:electron
yarn build:browser
yarn start:browser
Then the error comes up:
Versions: