Hey guys
I’m using Frontity for the first time and I have a problem starting the project.
When I run a yarn dev it runs the project on the correct port, but with some warnings and the page doesn’t load all the items.
yarn run v1.22.19
$ frontity dev
SERVER STARTED -- Listening @ http://localhost:3000
- mode: development
- target: module
- public-path: /static/
(node:14220) Warning: Closing file descriptor 3 on garbage collection
(Use `node --trace-warnings ...` to show where the warning was created)
(node:14220) [DEP0137] DeprecationWarning: Closing a FileHandle object on garbage collection is deprecated. Please close FileHandle objects explicitly using FileHandle.prototype.close(). In the future, an error
will be thrown if a file descriptor is closed during garbage collection.
webpack built client 2c2a935e0f1679d2be22 in 7887ms
i ï½¢wdmï½£: Hash: 2c2a935e0f1679d2be226c4ed5585301f7af3a92
Version: webpack 4.46.0
Child client:
Hash: 2c2a935e0f1679d2be22
Time: 7887ms
Built at: 03/13/2023 2:20:07 PM
Asset Size Chunks Chunk Names
../bundling/chunks.module.json 1.27 KiB [emitted]
list.module.js 48.6 KiB list [emitted] list
o2b-site.module.js 6.79 MiB o2b-site [emitted] [big] o2b-site
Entrypoint o2b-site [big] = o2b-site.module.js
[0] multi webpack-hot-middleware/client ./build/bundling/entry-points/o2b-site/client.ts 40 bytes {o2b-site} [built]
[./build/bundling/entry-points/o2b-site/client.ts] 1.25 KiB {o2b-site} [built]
[./node_modules/@frontity/core/src/client/index.tsx] 2.22 KiB {o2b-site} [built]
[./node_modules/@frontity/html2react/src/index.ts] 214 bytes {o2b-site} [built]
[./node_modules/@frontity/tiny-router/src/index.ts] 241 bytes {o2b-site} [built]
[./node_modules/@frontity/wp-source/src/index.ts] 1.93 KiB {o2b-site} [built]
[./node_modules/core-js/modules/es.array.iterator.js] 2.56 KiB {o2b-site} [built]
[./node_modules/core-js/modules/es.object.from-entries.js] 468 bytes {o2b-site} [built]
[./node_modules/core-js/modules/es.regexp.exec.js] 274 bytes {o2b-site} [built]
[./node_modules/core-js/modules/es.string.replace.js] 5.48 KiB {o2b-site} [built]
[./node_modules/core-js/modules/web.dom-collections.iterator.js] 1.72 KiB {o2b-site} [built]
[./node_modules/core-js/modules/web.url-search-params.js] 138 bytes {o2b-site} [built]
[./node_modules/strip-ansi/index.js] 230 bytes {o2b-site} [built]
[./node_modules/webpack-hot-middleware/client-overlay.js] (webpack)-hot-middleware/client-overlay.js 1.76 KiB {o2b-site} [built]
[./node_modules/webpack-hot-middleware/client.js] (webpack)-hot-middleware/client.js 6.23 KiB {o2b-site} [built]
+ 392 hidden modules
Child server:
Hash: 6c4ed5585301f7af3a92
Time: 12975ms
Built at: 03/13/2023 2:20:12 PM
Asset Size Chunks Chunk Names
Entrypoint main [big] = server.js
[./build/bundling/entry-points/server.ts] 505 bytes {main} [built]
[./node_modules/@frontity/core/src/server/index.ts] 3.11 KiB {main} [built]
[./node_modules/@frontity/core/src/server/middlewares/capabilities-and-actions.tsx] 1.26 KiB {main} [built]
[./node_modules/@frontity/core/src/server/middlewares/error-handling.ts] 500 bytes {main} [built]
[./node_modules/@frontity/core/src/server/middlewares/init.ts] 274 bytes {main} [built]
[./node_modules/@frontity/core/src/server/middlewares/scripts-stats.ts] 596 bytes {main} [built]
[./node_modules/@frontity/core/src/server/middlewares/server-side-rendering.ts] 6.07 KiB {main} [built]
[./node_modules/@frontity/core/src/server/middlewares/settings-and-store.ts] 854 bytes {main} [built]
[./node_modules/@frontity/core/src/server/public-path.ts] 50 bytes {main} [built]
[./node_modules/@frontity/html2react/processors/iframe.tsx] 483 bytes {main} [built]
[./node_modules/@frontity/html2react/processors/image.tsx] 5.93 KiB {main} [built]
[./node_modules/@frontity/html2react/src/index.ts] 214 bytes {main} [built]
[./node_modules/@frontity/tiny-router/src/index.ts] 241 bytes {main} [built]
[./node_modules/@frontity/wp-source/src/index.ts] 1.93 KiB {main} [built]
[./packages/mars-theme/src/index.js] 1.2 KiB {main} [built]
+ 600 hidden modules
i ï½¢wdmï½£: Compiled successfully.
So the application is running in the browser:
My node version: v16.18.0
Thank you very much in advance