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
@uirouter/react WARNING in ./~/@uirouter/core/lib/vanilla/*.js #60
Comments
Not sure why you get the warning. Would you be able to provide a small webpackbin/codesandbox to replicate the error? |
Sorry for the late response. I can't seem to replicate in webpackbin, but when I download the zip version I get multiple errors. I tried running the `ERROR in [at-loader] ./components/Nest.tsx:14:24 ERROR in [at-loader] ./node_modules/@uirouter/react/lib/components/UIRouter.d.ts:1:1 ERROR in [at-loader] ./node_modules/@uirouter/react/lib/components/UISref.d.ts:1:1 ERROR in [at-loader] ./node_modules/@uirouter/react/lib/components/UISrefActive.d.ts:1:1 ERROR in [at-loader] ./node_modules/@uirouter/react/lib/components/UIView.d.ts:1:1 ERROR in [at-loader] ./node_modules/@uirouter/react/lib/components/UIView.d.ts:41:145 ERROR in [at-loader] ./node_modules/@uirouter/react/lib/components/UIView.d.ts:72:15 ERROR in [at-loader] ./node_modules/@uirouter/react/lib/interface.d.ts:1:1 This happens on multiple computers so I know it isnt a local issue |
After doing some deep digging. it seems to be an issue with react-hmre |
Are you using any starter-kit/boilerplate? Do you know how would I reproduce the bug on my machine so I can dig a bit and see if I can do anything about it? |
I am. I'm working on my own react-typescript starter seed. https://github.com/roger-king/reactjs-modern-seed
The second command will get you a quick container or page. Can do a Hello world. |
Any chance we have any insight on these warning I could be getting? |
Hey, sorry for the late response. I tried you repo reverting back to 24a4349 before the switch to I think the project loads |
As this issue is a bit old, it is being closed. If you feel like the problem reported is still valid, please add a comment saying it is still affecting you. We will reevaluate it and if it is valid we will reopen it. Thank you for supporting and contributing to the project. |
Hello,
I am trying to implement ui-router into my react/typescript application (bundling with webpack). I am getting warnings during the bundle on missing *.ts files.
For example:
WARNING in ./~/@uirouter/core/lib/hooks/ignoredTransition.js (Emitted value instead of an instance of Error) Cannot find source file '../../src/hooks/ignoredTransition.ts': Error: Can't resolve '../../src/hooks/ignoredTransition.ts'
I check the node_modules and I do not see the ts files in path. Is there something that I am missing?
Thank you.
The text was updated successfully, but these errors were encountered: