xRoute icon indicating copy to clipboard operation
xRoute copied to clipboard

我也是npm run dev 之后报错

Open a1782680475 opened this issue 5 years ago • 2 comments

70% 1/1 build modules[HPM] Proxy created: /api -> http://localhost:3000 http://localhost:3000/ webpack result is served from /static/taxi-driver/ content is served from C:\Users\Administrator\Desktop\xRoute-master\dist Hash: 9492b4cf2df25f274421 Version: webpack 1.15.0 Time: 165ms Asset Size Chunks Chunk Names js/register/index.js 9.24 kB 0, 1 [emitted] index js/register/common.js 24.4 kB 1 [emitted] common pages/register/index.html 2.17 kB [emitted] chunk {0} js/register/index.js (index) 2.72 kB {1} [rendered] [0] multi index 52 bytes {0} [built] [2 errors] [1] (webpack)/hot/dev-server.js 1.85 kB {0} [built] [2] (webpack)/hot/log-apply-result.js 813 bytes {0} [built] chunk {1} js/register/common.js (common) 0 bytes [rendered]

ERROR in multi index Module not found: Error: Cannot resolve 'file' or 'directory' C:\Users\Administr ator\Desktop\xRoute-master\node_modules\webpack-dev-server\client\index.js in C: \Users\Administrator\Desktop\xRoute-master @ multi index

ERROR in multi index Module not found: Error: Cannot resolve 'file' or 'directory' C:\Users\Administr ator\Desktop\xRoute-master\src\index.js in C:\Users\Administrator\Desktop\xRoute -master @ multi index

ERROR in Error: Child compilation failed: Entry module not found: Error: Cannot resolve 'file' or 'directory' C:\Users\A dministrator\Desktop\xRoute-master\dist\assets\info.html in C:\Users\Administr ator\Desktop\xRoute-master: Error: Cannot resolve 'file' or 'directory' C:\Users\Administrator\Desktop\xRo ute-master\dist\assets\info.html in C:\Users\Administrator\Desktop\xRoute-mast er

  • compiler.js:76 [xRoute-master]/[html-webpack-plugin]/lib/compiler.js:76:16

  • Compiler.js:214 Compiler. [xRoute-master]/[webpack]/lib/Compiler.js:214:10

  • Compiler.js:403 [xRoute-master]/[webpack]/lib/Compiler.js:403:12

  • Tapable.js:67 Compiler.next [xRoute-master]/[tapable]/lib/Tapable.js:67:11

  • CachePlugin.js:40 Compiler. [xRoute-master]/[webpack]/lib/CachePlugin.js:40:4

  • Tapable.js:71 Compiler.applyPluginsAsync [xRoute-master]/[tapable]/lib/Tapable.js:71:13

  • Compiler.js:400 Compiler. [xRoute-master]/[webpack]/lib/Compiler.js:400:9

  • Compilation.js:577 Compilation. [xRoute-master]/[webpack]/lib/Compilation.js:577:13

  • Tapable.js:60 Compilation.applyPluginsAsync [xRoute-master]/[tapable]/lib/Tapable.js:60:69

  • Compilation.js:572 Compilation. [xRoute-master]/[webpack]/lib/Compilation.js:572:10

  • Tapable.js:60 Compilation.applyPluginsAsync [xRoute-master]/[tapable]/lib/Tapable.js:60:69

  • Compilation.js:567 Compilation. [xRoute-master]/[webpack]/lib/Compilation.js:567:9

  • Tapable.js:60 Compilation.applyPluginsAsync [xRoute-master]/[tapable]/lib/Tapable.js:60:69

  • Compilation.js:563 Compilation. [xRoute-master]/[webpack]/lib/Compilation.js:563:8

  • Tapable.js:60 Compilation.applyPluginsAsync [xRoute-master]/[tapable]/lib/Tapable.js:60:69

  • Compilation.js:525 Compilation.seal [xRoute-master]/[webpack]/lib/Compilation.js:525:7

Child html-webpack-plugin for "pages\register\index.html":

ERROR in Entry module not found: Error: Cannot resolve 'file' or 'directory'

C:\Users\Administrator\Desktop\xRoute-master\dist\assets\info.html in C:\Users
Administrator\Desktop\xRoute-master webpack: Failed to compile.

a1782680475 avatar Jun 01 '20 01:06 a1782680475

我是在Node.js官网下载的最新的Node.js包,是版本问题吗?

a1782680475 avatar Jun 01 '20 01:06 a1782680475

本来我都给你star了,但是跑不起来,就给取消了

basicButtons avatar Jan 20 '21 13:01 basicButtons