-
Notifications
You must be signed in to change notification settings - Fork 783
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
Can't add external librarry #424
Comments
Hello, thanks for opening an issue with us! Could you post a repo we could use to reproduce this issue? Also, for the team, linking this issue #162 |
@jgw96 hey, I've cloned your github PWA project and just installed oidc-client npm package Added import
replaced componentDidLoad method
If you still need repo then i will do. |
Hey @jgw96 can you reproduce this one? |
I am working on some things in this space right now. Hopefully I will be able to test and reproduce tomorrow. Thanks! |
Note to self, test this today with the new code splitting implementation. |
@jthoms1 update on this issue. I was able to get an app to build succesfully with this library by using this import |
@jgw96 sorry for long response. I am able to use this vue.js and i dont have any issues. |
I have the same results as @jgw96. I am able to get it imported but I receive a runtime error. |
Hello all! At this point, it looks like this is a runtime issue with that library and not specific to Stencil. Because of this, I am going to close this issue for now. Thanks for using Stencil! |
Stencil version:
-- @stencil/[email protected]
I'm submitting a:
Current behavior:
And i am getting an error
[ ERROR ] Error parsing: ...../dist/collection/components/my-app/my-app.js, line: 2, column: 9
[ ERROR ] rollup died at ......\node_modules@stencil\core\dist\compiler\index.js:1781:19 at
Generator.throw () at rejected
(.......\node_modules@stencil\core\dist\compiler\index.js:1748:65) at
Expected behavior:
I should be able to use external librarries
Steps to reproduce:
npm install oidc-client
then in component
import { UserManager, UserManagerSettings, User } from 'oidc-client';
Related code:
// insert any relevant code here
Other information:
The text was updated successfully, but these errors were encountered: