-
Notifications
You must be signed in to change notification settings - Fork 994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug?]: FatalErrorPage path is incorrect after scaffolding app #9244
Comments
Hey @standup75, thanks for this one. Could you confirm if running This would make sense since if the node modules aren't installed at the time the project is created then the type generation won't take place and you'll get red squiggles. I guess it would do no harm to simply add another level of |
Thanks for looking into this so promptly.
|
Okay so that merged PR mentioned above should fix:
My next question would be can we in some way ship with the generated types for the blank project we copy over running |
@Josh-Walker-GM good idea, it may be possible. I'll have a look |
What's not working?
Given a newly created app
yarn create redwood-app test
with typescript (problem might also be with js)when I open
App.tsx
in VS Code after installing the packages,then on line 4, it says
import FatalErrorPage from 'src/pages/FatalErrorPage'
showing red squigglesinstead of
import FatalErrorPage from 'src/pages/FatalErrorPage/FatalErrorPage'
How do we reproduce the bug?
No response
What's your environment? (If it applies)
System: OS: macOS 13.2.1 Shell: 5.8.1 - /bin/zsh Binaries: Node: 18.16.0 - /private/var/folders/g7/0v2mwcd50dv822c6142lth1h0000gp/T/xfs-ffc7c61b/node Yarn: 3.6.3 - /private/var/folders/g7/0v2mwcd50dv822c6142lth1h0000gp/T/xfs-ffc7c61b/yarn Databases: SQLite: 3.39.5 - /usr/bin/sqlite3 Browsers: Chrome: 117.0.5938.132 Safari: 16.3 npmPackages: @redwoodjs/core: 6.3.1 => 6.3.1
Are you interested in working on this?
The text was updated successfully, but these errors were encountered: