It shows the logs:
Finished release [optimized] target(s) in 0.07s
Running `target/release/examples/demo`
[13:19:25] [INFO] [voxelize::server]: 🌎 World created: world1
[13:19:25] [INFO] [voxelize::server]: 🌎 World created: world2
[13:19:25] [INFO] [voxelize]: Server running at 0.0.0.0:4000 by Ws
$ cross-env FORCE_COLOR=true SKIP_PREFLIGHT_CHECK=true craco start | cat
(node:15595) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:15595) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
Starting the development server...
Failed to compile.
Module not found: Error: Can't resolve '@voxelize/client' in '/tmp/voxelize/examples/client/src/containers'
assets by path static/ 3.4 MiB
asset static/js/bundle.js 2.75 MiB [emitted] (name: main) 1 related asset
asset static/media/marble.a3701ce1db620dec8118.jpg 453 KiB [emitted] [immutable] [from: src/assets/marble.jpg] (auxiliary name: main)
asset static/media/lol.27c9e470a9df0457b0e5.png 214 KiB [emitted] [immutable] [from: src/assets/lol.png] (auxiliary name: main)
asset index.html 1.73 KiB [emitted]
asset asset-manifest.json 344 bytes [emitted]
cached modules 2.6 MiB (javascript) 667 KiB (asset) 28.4 KiB (runtime) [cached] 138 modules
ERROR in ./src/containers/app.tsx 8:0-158
Module not found: Error: Can't resolve '@voxelize/client' in '/tmp/voxelize/examples/client/src/containers'
resolve '@voxelize/client' in '/tmp/voxelize/examples/client/src/containers'
Parsed request is a module
using description file: /tmp/voxelize/examples/client/package.json (relative path: ./src/containers)
aliased with mapping '@voxelize/client': '/tmp/voxelize/dist' to '/tmp/voxelize/dist'
using description file: /tmp/voxelize/examples/client/package.json (relative path: ./src/containers)
Field 'browser' doesn't contain a valid alias configuration
root path /tmp/voxelize/examples/client
using description file: /tmp/voxelize/examples/client/package.json (relative path: ./tmp/voxelize/dist)
no extension
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/examples/client/tmp/voxelize/dist doesn't exist
.web.mjs
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/examples/client/tmp/voxelize/dist.web.mjs doesn't exist
.mjs
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/examples/client/tmp/voxelize/dist.mjs doesn't exist
.web.js
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/examples/client/tmp/voxelize/dist.web.js doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/examples/client/tmp/voxelize/dist.js doesn't exist
.web.ts
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/examples/client/tmp/voxelize/dist.web.ts doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/examples/client/tmp/voxelize/dist.ts doesn't exist
.web.tsx
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/examples/client/tmp/voxelize/dist.web.tsx doesn't exist
.tsx
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/examples/client/tmp/voxelize/dist.tsx doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/examples/client/tmp/voxelize/dist.json doesn't exist
.web.jsx
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/examples/client/tmp/voxelize/dist.web.jsx doesn't exist
.jsx
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/examples/client/tmp/voxelize/dist.jsx doesn't exist
as directory
/tmp/voxelize/examples/client/tmp/voxelize/dist doesn't exist
using description file: /tmp/voxelize/package.json (relative path: ./dist)
no extension
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist is not a file
.web.mjs
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist.web.mjs doesn't exist
.mjs
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist.mjs doesn't exist
.web.js
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist.web.js doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist.js doesn't exist
.web.ts
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist.web.ts doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist.ts doesn't exist
.web.tsx
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist.web.tsx doesn't exist
.tsx
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist.tsx doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist.json doesn't exist
.web.jsx
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist.web.jsx doesn't exist
.jsx
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist.jsx doesn't exist
as directory
existing directory /tmp/voxelize/dist
using description file: /tmp/voxelize/package.json (relative path: ./dist)
using path: /tmp/voxelize/dist/index
using description file: /tmp/voxelize/package.json (relative path: ./dist/index)
no extension
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist/index doesn't exist
.web.mjs
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist/index.web.mjs doesn't exist
.mjs
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist/index.mjs doesn't exist
.web.js
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist/index.web.js doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist/index.js doesn't exist
.web.ts
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist/index.web.ts doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist/index.ts doesn't exist
.web.tsx
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist/index.web.tsx doesn't exist
.tsx
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist/index.tsx doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist/index.json doesn't exist
.web.jsx
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist/index.web.jsx doesn't exist
.jsx
Field 'browser' doesn't contain a valid alias configuration
/tmp/voxelize/dist/index.jsx doesn't exist
@ ./src/index.tsx 6:0-39 10:33-36
webpack 5.72.0 compiled with 1 error in 605 ms
Files successfully emitted, waiting for typecheck results...
Issues checking in progress...
No issues found.
My environment
node: 18.1.0
yarn: 1.22.18
rustc:
rustc 1.60.0 (7737e0b5c 2022-04-04)
binary: rustc
commit-hash: 7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c
commit-date: 2022-04-04
host: x86_64-unknown-linux-gnu
release: 1.60.0
LLVM version: 14.0.0