Skip to content

Commit

Permalink
Fix run_sad
Browse files Browse the repository at this point in the history
This problem is related to this issue: yarnpkg/yarn#685

The problem is that yarn copies the entire folder from `./tripetto-block-text/` to `./app/node_modules/tripetto-block-text`. This also includes the `node_modules` folder in `./tripetto-block-text/node_modules`. This folder also contains the `tripetto` package. So now, the text block will use this locale instance of Tripetto to register the block instead of the one used by the app.
  • Loading branch information
markvandenbrink authored Jun 9, 2021
1 parent 0a04667 commit fd240db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions run_sad
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

cd tripetto-block-text
npm install
npm run make
npm pack

cd ..

cd app
yarn remove tripetto-block-text
yarn add file:../tripetto-block-text
yarn add file:../tripetto-block-text/tripetto-block-text-5.0.0.tgz

yarn start
yarn start

0 comments on commit fd240db

Please sign in to comment.