incubator-weex icon indicating copy to clipboard operation
incubator-weex copied to clipboard

You may need an appropriate loader to handle this file type.

Open bq49 opened this issue 4 years ago • 2 comments

Error: ` error in ./src/assets/images/direction_down.png

Module parse failed: Unexpected character '�' (1:0) You may need an appropriate loader to handle this file type. (Source code omitted for this binary file)

@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/game/index.vue 87:17-69 @ ./src/game/index.vue @ ./.temp/router.js @ ./.temp/entry.js @ multi (webpack)-dev-server/client?http://192.168.31.100:8081 ./.temp/entry.js `

env: ` npm -v 6.14.8 node -v v12.18.0 weex -v 2.0.0-beta.31 (Core 2.0.0-beta.31)

  • @weex-cli/generator : v2.0.0-beta.16
  • @weex-cli/run : v2.0.0-beta.21
  • @weex-cli/device : v2.0.0-beta.2 `

bq49 avatar Oct 30 '20 13:10 bq49

Maybe there are special symbols in your path. Chinese characters may also be considered as special symbols

cnryb avatar Nov 04 '20 01:11 cnryb

If I were you, I would install a file-loader

Gourdbaby avatar Jan 28 '21 09:01 Gourdbaby