我今天开始使用8thwall测试web AR,遵循他们的官方教程,但我得到了下面的错误
当我跑的时候
serve\bin\serve.bat -n -d gettingstarted\xraframe -p 7777
对于我的应用程序,我得到了下面的错误
The system cannot find the path specified.
internal/modules/cjs/loader.js:583
throw err;
^
Error: Cannot find module 'E:\MyProjects\8th wall tutorial
webAR\web\src\index.js'
at Function.Module._resolveFilename
(internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
我再次尝试使用npm install,同样得到了错误的教程链接:https://docs.8thwall.com/web/#locally-from-windows
发布于 2019-06-26 20:11:04
试一试
(from serve's parent directory) serve\bin\serve.bat -d <path for your project directory>
示例:
C:\Users\X\web>serve\bin\serve.bat -d C:\Users\X\webar-image-target
我的文件夹位于web文件夹中,我的项目位于web文件夹中
https://stackoverflow.com/questions/56331124
复制相似问题