geojson-shp-3dtiles icon indicating copy to clipboard operation
geojson-shp-3dtiles copied to clipboard

跑起来报错

Open crithes opened this issue 2 years ago • 1 comments

请问这个报错是啥问题,报错如下: (node:6676) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open './dist/shp/buildings-shp.zip' (Use node --trace-warnings ... to show where the warning was created) (node:6676) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:6676) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

crithes avatar Jun 15 '22 14:06 crithes

请问这个报错是啥问题,报错如下: (node:6676) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open './dist/shp/buildings-shp.zip' (Use node --trace-warnings ... to show where the warning was created) (node:6676) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:6676) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

在项目根目录新建 dist 文件夹和 dist/3dtilesFiles 文件夹

CahierX avatar Oct 13 '22 02:10 CahierX