Closed ayy345 closed 2 years ago
Hi @ayy345, I am also running playground at my local machine and it is running fine, from you terminal logs that you shared above are showing so many errors e.g:
67 ERROR in ./src/providers/Project/index.tsx 43:11
68 Module parse failed: Identifier 'active' has already been declared (43:11)
69 File was processed with these loaders:
70 * ./node_modules/ts-loader/index.js
71 You may need an additional loader to handle the result of these loaders.
72 | const [isSavingCode, setIsSaving] = useState(false);
73 | const [lastSigners, setLastSigners] = useState(null);
74 > const [active, setActive] = useState({
75 | type: EntityType.Account,
76 | index: 0,
77 @ ./src/containers/Editor/index.tsx 3:0-52 7:0-47 23:14-24 40:34-44 46:34-44 53:34-44 66:38-48 72:38-48 82:38-48 88:38-48 99:38-48 105:38-48 116:28-43
78 @ ./src/App.tsx
79 @ ./src/index.tsx
80 @ multi ./src/index.tsx ./src/wasm_exec.js
81
82 ERROR in /Users/sivers/flow-playground/src/providers/Project/index.tsx
83 ./src/providers/Project/index.tsx
84 [tsl] ERROR in /Users/sivers/flow-playground/src/providers/Project/index.tsx(77,3)
85 TS2300: Duplicate identifier 'active'.
I think you have any old version of code, can you update your code with master branch and try to run your application again.
I can't reproduce either, closing
Describe the bug Launched the playground on localhost as per instructions here https://github.com/onflow/flow-playground http://localhost:3000 is just blank
Desktop (please complete the following information):
Here is the output of running npm run start