From 24d565b7ef1c8d3cf169f0f75d5f46df6a7c4d74 Mon Sep 17 00:00:00 2001 From: Sam Nolan Date: Sat, 26 Feb 2022 10:06:25 +1100 Subject: [PATCH] Add documentation about rationale error --- packages/squiggle-lang/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/squiggle-lang/README.md b/packages/squiggle-lang/README.md index 4563355d..35c4a4ae 100644 --- a/packages/squiggle-lang/README.md +++ b/packages/squiggle-lang/README.md @@ -41,6 +41,11 @@ rebuilding every time there is one. Finally, `yarn test` runs the current test suite over the language. +You may notice sometimes, that there are errors about the `rationale` package. +If you ever get these errors, `yarn build` should fix this issue. These errors +occur because `yarn build` also needs to create build files that are in `node_modules`. +So if you replace `node_modules` you may need to rebuild to get those files back. + ## Distributing this package or using this package from other monorepo packages If you would like to distribute this package, run `yarn package` to compile all the js and typescript into the `dist` directory. This `dist` directory code is what's