Skip to content
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: When running npm init stencil and npm run build getting an error "has no exported member IOptions" #6023

Open
3 tasks done
etiennejcharles opened this issue Oct 9, 2024 · 1 comment
Labels

Comments

@etiennejcharles
Copy link

Prerequisites

Stencil Version

4.22.0

Current Behavior

Go to https://stenciljs.com/docs/getting-started
Type in the command npm init stencil
Choose component
Enter any project name.
Choose Y to confirm the choice
Follow the given instructions.

Then run npm run build
Expected build should pass ✅

Got: Build is failing because of missing types ❌
CleanShot 2024-10-09 at 15 36 35

Expected Behavior

Then run npm run build
Expected build should pass ✅

System Info

System: node 18.20.4
    Platform: darwin (23.3.0)
   CPU Model: Apple M2 Pro (10 cpus)
    Compiler: node_modules/@stencil/core/compiler/stencil.js
       Build: 1727982169
     Stencil: 4.22.0 🍲
  TypeScript: 5.5.4
      Rollup: 2.56.3
      Parse5: 7.1.2
      jQuery: 4.0.0-pre
      Terser: 5.31.1

Steps to Reproduce

See description above

Code Reproduction URL

https://...none 🙏🏿 sorry

Additional Information

The fix was was provide types in the default tsconfig.json - I sadly don't have the time to write a PR for that, just leaving as a trace for other people

@ionitron-bot ionitron-bot bot added the triage label Oct 9, 2024
@etiennejcharles
Copy link
Author

The fix was was provide types in the default tsconfig.json - I sadly don't have the time to write a PR for that, just leaving as a trace for other people

CleanShot 2024-10-09 at 15 41 18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant