voxel / voxel-engine-stackgl

3D HTML5 voxel game engine using stackgl
Other
47 stars 8 forks source link

voxel-engine-stackgl fails to install #12

Open kumavis opened 1 year ago

kumavis commented 1 year ago
play-voxeljs on  master [?] via ⬢ v16.16.0 
➜ yarn add voxel-engine-stackgl
yarn add v1.22.19
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
error pngjs@0.4.0: The engine "node" is incompatible with this module. Expected version "0.8.x". Got "16.16.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
kumavis commented 1 year ago

workaround yarn install --ignore-engines here is the resultant yarn.lock for yarn@1.22.19 https://gist.github.com/kumavis/e22ffb1dcc9b0caf16043a3e8fc18893