@Mac puzzling-potions % npm run start
puzzling-potions@0.0.1 prestart
run-s assets
puzzling-potions@0.0.1 assets
assetpack
› Warn: [AssetPack] cache not found, clearing output folder
✔ AssetPack Initialized
› Building: /Users/huangxuanhuang/Documents/WebGame/open-games/puzzling-potions/static
| | 0%node:fs:1584
const result = binding.readdir(
^
Error: ENOENT: no such file or directory, scandir '/Users/huangxuanhuang/Documents/WebGame/open-games/puzzlin
at Object.readdirSync (node:fs:1584:26)
at AssetWatcher._collectAssets (file:///Users/huangxuanhuang/Documents/WebGame/open-games/puzzling-potio)
at AssetWatcher._init (file:///Users/huangxuanhuang/Documents/WebGame/open-games/puzzling-potions/node_m)
at AssetWatcher.run (file:///Users/huangxuanhuang/Documents/WebGame/open-games/puzzling-potions/node_mod)
at AssetPack.run (file:///Users/huangxuanhuang/Documents/WebGame/open-games/puzzling-potions/node_module)
at main (file:///Users/huangxuanhuang/Documents/WebGame/open-games/puzzling-potions/node_modules/@assetp
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/Users/huangxuanhuang/Documents/WebGame/open-games/puzzling-potions/static'
}
Node.js v22.14.0
ERROR: "assets" exited with 1.
@Mac puzzling-potions % npm run start
› Warn: [AssetPack] cache not found, clearing output folder
✔ AssetPack Initialized
› Building: /Users/huangxuanhuang/Documents/WebGame/open-games/puzzling-potions/static
| | 0%node:fs:1584
const result = binding.readdir(
^
Error: ENOENT: no such file or directory, scandir '/Users/huangxuanhuang/Documents/WebGame/open-games/puzzlin
at Object.readdirSync (node:fs:1584:26)
at AssetWatcher._collectAssets (file:///Users/huangxuanhuang/Documents/WebGame/open-games/puzzling-potio)
at AssetWatcher._init (file:///Users/huangxuanhuang/Documents/WebGame/open-games/puzzling-potions/node_m)
at AssetWatcher.run (file:///Users/huangxuanhuang/Documents/WebGame/open-games/puzzling-potions/node_mod)
at AssetPack.run (file:///Users/huangxuanhuang/Documents/WebGame/open-games/puzzling-potions/node_module)
at main (file:///Users/huangxuanhuang/Documents/WebGame/open-games/puzzling-potions/node_modules/@assetp
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/Users/huangxuanhuang/Documents/WebGame/open-games/puzzling-potions/static'
}
Node.js v22.14.0
ERROR: "assets" exited with 1.