Closed RenaudGagne closed 5 years ago
So after failing with npm, I tried with yarn. I got much further but still, here is what I get on the localhost 3000 (after another set of warning and issues)
So it worked with yarn but you got console warnings?
well, I don't know if the above screenshot is what it's supposed to look like. Doesn't look much of a tutorial to me.
λ yarn run start
yarn run v1.7.0
$ webpack && node ./index.js
DEPRECATION WARNING on line 1, column 8 of stdin:
Including .css files with @import is non-standard behaviour which will be removed in future versions of LibSass.
Use a custom importer to maintain this behaviour. Check your implementations documentation on how to create a custom importer.
Hash: a9e224877823362e3474
Version: webpack 4.12.0
Time: 2846ms
Built at: 06/10/2018 10:54:15 AM
Asset Size Chunks Chunk Names
bundle.js 769 KiB 0 [emitted] [big] main
bundle.js.map 1.6 MiB 0 [emitted] main
[0] (webpack)/buildin/global.js 489 bytes {0} [built]
[4] ./node_modules/css-loader!./node_modules/sass-loader/lib/loader.js!./public/app.scss 175 KiB {0} [built]
[5] ./public/app.scss 1.17 KiB {0} [built]
[10] ./public/app.js 1.18 KiB {0} [built]
[11] multi ./public/app.js ./public/app.scss 40 bytes {0} [built]
+ 7 hidden modules
WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/concepts/mode/
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
bundle.js (769 KiB)
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
main (769 KiB)
bundle.js
WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
listening on port 3000
well, I don't know if the above screenshot is what it's supposed to look like. Doesn't look much of a tutorial to me.
Screenshot looks good and correct... Warning messages are normal coming from webpack. Purpose of first tutorial is to show how to fetch blog posts from specific account e.g. @steemitblog
. README of that tutorial explains steps and code.
Hey guys, don't want to bug you too much but I'm trying to go through the developer portal step by step and I keep hitting roadblocks.
Here: https://developers.steem.io/tutorials-javascript/getting-started
It tells me:
Which I have installed but when I follow you instructions, here is what I get: