Ron
WWasp-lang
•Created by Ron on 3/29/2024 in #đŸ™‹questions
Compile / Parse error with the ToDoAp
Hello all
, I just downloaded and installed Wasp on Windows 11 with WSL2. The installation went fine and I am able to run the demo app. However, I then tried to install the Todoapp generated on Usemage.ai, and run it locally. It fails with the message :
--- [Error] Your wasp project failed to compile: Parse error: Path in external import must start with "@server/" or "@client/"! -> For dictionary field 'client': -> For dictionary field 'rootComponent' 6 | client: { 7 | rootComponent: import { Layout } from "@src/Layout.jsx", 8 | }, Any help on how to fix this would be appreciated. Thanks
--- [Error] Your wasp project failed to compile: Parse error: Path in external import must start with "@server/" or "@client/"! -> For dictionary field 'client': -> For dictionary field 'rootComponent' 6 | client: { 7 | rootComponent: import { Layout } from "@src/Layout.jsx", 8 | }, Any help on how to fix this would be appreciated. Thanks
4 replies