You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This requires you to have Git and Node.js installed.
9
6
@@ -51,7 +48,7 @@ Here's how to link your local `scratch-gui` code to another project's `node_modu
51
48
2. From the top level of each repository (such as `scratch-www`) that depends on `scratch-gui`:
52
49
1. Make sure you have run `npm install`
53
50
2. Run `npm link scratch-gui`
54
-
3. Build or run the repositoriy
51
+
3. Build or run the repository
55
52
56
53
#### Using `npm run watch`
57
54
@@ -60,7 +57,7 @@ Instead of `BUILD_MODE=dist npm run build`, you can use `BUILD_MODE=dist npm run
60
57
#### Oh no! It didn't work!
61
58
62
59
If you can't get linking to work right, try:
63
-
* Follow the recipe above step by step and don't change the order. It is especially important to run `npm install`_before_`npm link`, because installing after the linking will reset the linking.
60
+
* Follow the recipe above step by step and don't change the order. It is especially important to run `npm install`_before_`npm link` as installing after the linking will reset the linking.
64
61
* Make sure the repositories are siblings on your machine's file tree, like `.../.../MY_SCRATCH_DEV_DIRECTORY/scratch-gui/` and `.../.../MY_SCRATCH_DEV_DIRECTORY/scratch-www/`.
65
62
* Consistent node.js version: If you have multiple Terminal tabs or windows open for the different Scratch repositories, make sure to use the same node version in all of them.
66
63
* If nothing else works, unlink the repositories by running `npm unlink` in both, and start over.
@@ -74,7 +71,7 @@ See [jest cli docs](https://facebook.github.io/jest/docs/en/cli.html#content) fo
74
71
75
72
### Running tests
76
73
77
-
*NOTE: If you're a windows user, please run these scripts in Windows `cmd.exe` instead of Git Bash/MINGW64.*
74
+
*NOTE: If you're a Windows user, please run these scripts in Windows `cmd.exe` instead of Git Bash/MINGW64.*
78
75
79
76
Before running any tests, make sure you have run `npm install` from this (scratch-gui) repository's top level.
0 commit comments