-
Notifications
You must be signed in to change notification settings - Fork 102
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
Fail to start with Stencil 0.11.0 #56
Comments
Similar for the build: ` [51:47.0] @stencil/core v0.11.0 🍇 [ ERROR ] TypeError: Parameter "url" must be a string, not undefined at [ ERROR ] Cannot find module 'request' at Function.Module._resolveFilename npm ERR! code ELIFECYCLE npm ERR! A complete log of this run can be found in: |
Would you be able to run the same commands with the |
Sure stencil build --prerender --debug [22:36.5] dev server www root: [ ERROR ] TypeError: Parameter "url" must be a string, not undefined at [ ERROR ] Cannot find module 'request' at Function.Module._resolveFilename npm ERR! code ELIFECYCLE npm ERR! A complete log of this run can be found in: |
@peterennis I have the same problem. I solved it by running |
@adamdbradley I was actually running into an issue after updating to 0.11.0 today with the build. Thats why I wanted to replicated it in this starter app. I like that stencil.config.ts has now the advantages of TypeScript but it seems like that in the schema only "Dist" is allowed for outputTargets type value 🤔 Hope you can help us on this one. |
@adamdbradley I suspect some of these changes are not in the stencil-app-starter. NOTE: fwiw my demo is only using stencil and components. No variables.scss |
@ray-kay Can you try to delete .stencil folder first? Does this help? |
@itsliang I just deleted the .stencil folder and run the build script again but I get the exact same error (see above). I am using npm 5.8.0 and node v8.9.4 |
Installing the infamous request module doesn't help either. :( |
Solved after install |
@rjoydip Ty that worked for me, just |
This should be fixed now. If someone could independently verify by doing the following it would be greatly appreciated:
|
@kensodemann - fatal: Could not read from remote repository.
|
found 8 moderate severity vulnerabilities
|
Excellent! Thank-you for testing that out. |
@adamdbradley
Stencil version: (run
npm list @stencil/core
from a terminal/cmd prompt and paste output below):I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com
Current behavior:
Expected behavior:
It should work
Steps to reproduce:
Follow the readme instructions.
Other information:
Related: ionic-team/create-stencil#8
The text was updated successfully, but these errors were encountered: