-
Notifications
You must be signed in to change notification settings - Fork 255
Description
"C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" run start --scripts-prepend-node-path=auto
[email protected] start
npm run dev
[email protected] dev
webpack-dev-server --inline --progress --config build/webpack.dev.conf.js
(node:3824) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use node --trace-deprecation ...
to show where the warning was created)
13% building modules 33/38 modules 5 active ...-workspace\sufei\gltftest\src\App.vue{ parser: "babylon" } is deprecated; we now treat it as { parser: "babel" }.
94% asset optimization
ERROR Failed to compile with 3 errors 上午10:37:42
error in ./node_modules/gltf-pipeline/node_modules/fs-extra/lib/index.js
Module parse failed: Unexpected token (5:2)
You may need an appropriate loader to handle this file type.
| module.exports = {
| // Export promiseified graceful-fs:
| ...require('./fs'),
| // Export extra methods:
| ...require('./copy-sync'),
@ ./node_modules/gltf-pipeline/lib/readResources.js 3:16-35
@ ./node_modules/gltf-pipeline/lib/processGltf.js
@ ./node_modules/gltf-pipeline/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
error in ./node_modules/@cesium/engine/Source/Scene/Model/MetadataPipelineStage.js
Module parse failed: Unexpected token (86:29)
You may need an appropriate loader to handle this file type.
| const { shaderBuilder, model } = renderResources;
| const { structuralMetadata = {}, content } = model;
| const statistics = content?.tileset.metadataExtension?.statistics;
|
| const propertyAttributesInfo = getPropertyAttributesInfo(
@ ./node_modules/@cesium/engine/Source/Scene/Model/ModelRuntimePrimitive.js 17:0-63
@ ./node_modules/@cesium/engine/Source/Scene/Model/ModelSceneGraph.js
@ ./node_modules/@cesium/engine/Source/Scene/Model/Model.js
@ ./node_modules/@cesium/engine/Source/DataSources/ModelVisualizer.js
@ ./node_modules/@cesium/engine/index.js
@ ./node_modules/cesium/Source/Cesium.js
@ ./node_modules/gltf-pipeline/lib/getStatistics.js
@ ./node_modules/gltf-pipeline/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
error in ./node_modules/@zip.js/zip.js/lib/core/zip-reader.js
Module parse failed: Unexpected token (90:6)
You may need an appropriate loader to handle this file type.
| }
|
| async* getEntriesGenerator(options = {}) {
| const zipReader = this;
| const reader = zipReader.reader;
@ ./node_modules/@zip.js/zip.js/lib/zip-no-worker.js 39:0-37
@ ./node_modules/@cesium/engine/Source/DataSources/KmlDataSource.js
@ ./node_modules/@cesium/engine/index.js
@ ./node_modules/cesium/Source/Cesium.js
@ ./node_modules/gltf-pipeline/lib/getStatistics.js
@ ./node_modules/gltf-pipeline/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js