-
Notifications
You must be signed in to change notification settings - Fork 58
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
starting fails #131
Comments
Hi @ulutomaz thanks for opening this issue. For the deprecation warning there is a quick fix and I'll push it in the following days.
I don't understand the use of |
This probably warrants more investigation than the little that I did. However, here is what worked for me (where "worked" is a very bare minimum of "I could view the sample"): From perusing Stack Overflow posts, and comparing them to my output and code spelunking, it seemed a
Then I had some webpack config issues. First, on line 24 of On line 25, I changed Then, in the
Now Hopefully this is helpful to someone else. I think there's a better solution with regards to locking webpack, et al versions. This is working for me for now, though. |
Thank you very much @mileszs for your investigation. I'll spend some time to ensure the mix generator always produces a package.json and webpack config which works out of the box. |
@zorbash No sweat, man. Keeping up with all that stuff is almost impossible unless you're managing a front-end codebase on a daily basis. Actually, technically I'm involved in a webpack-based React app on a daily basis and I still mostly just used Stack Overflow to get a half-solution here. Haha. Hopefully it's still at least half-useful. :-) |
@mileszs Finally someone who gets me 😅 |
Some things are deprecated, and should be updated I guess. Such an awesome project, should be kept alive.
Environment
Kitto version: 0.9.1
Elixir / Hex version (mix hex.info):
Hex: 0.15.0
Elixir: 1.8.1
OTP: 21.2.7
Node / NPM version (node -v) (npm -v):
➜ app1 node -v
v11.11.0
➜ app1 npm -v
6.7.0
mac os
Current behavior
Generated app1 app
11:56:20.033 [info] Starting Kitto server, listening on 127.0.0.1:4000
11:56:20.071 [warn] Setting Ranch options together with socket options is deprecated. Please use the new map syntax that allows specifying socket options separately from other options.
/Users/tomaz/razvoj/elixir/dashboards-Kitto/app1/node_modules/webpack-cli/bin/convert-argv.js:138
const webpackConfigurationValidationErrors = validateSchema(webpackConfigurationSchema, options);
^
TypeError: validateSchema is not a function
at processConfiguredOptions (/Users/tomaz/razvoj/elixir/dashboards-Kitto/app1/node_modules/webpack-cli/bin/convert-argv.js:138:48)
at module.exports (/Users/tomaz/razvoj/elixir/dashboards-Kitto/app1/node_modules/webpack-cli/bin/convert-argv.js:132:10)
at Object. (/Users/tomaz/razvoj/elixir/dashboards-Kitto/app1/node_modules/webpack-dev-server/bin/webpack-dev-server.js:92:55)
at Module._compile (internal/modules/cjs/loader.js:799:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:810:10)
at Module.load (internal/modules/cjs/loader.js:666:32)
at tryModuleLoad (internal/modules/cjs/loader.js:606:12)
at Function.Module._load (internal/modules/cjs/loader.js:598:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:862:12)
at internal/main/run_main_module.js:21:11
Expected behavior
server is listening, but nothing is shown.... exept few black dots on top left corner ul -> li without content.
Is there any fast fix for this? or project is more or less unmaintained?
Best,
Tomaz
The text was updated successfully, but these errors were encountered: