geojson-shp-3dtiles
geojson-shp-3dtiles copied to clipboard
跑起来报错
请问这个报错是啥问题,报错如下:
(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.
请问这个报错是啥问题,报错如下: (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 文件夹