Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

管理后台启动异常 #2

Closed
sujg opened this issue Mar 28, 2018 · 3 comments
Closed

管理后台启动异常 #2

sujg opened this issue Mar 28, 2018 · 3 comments
Labels
问题不明确 问题不明确,不能重现,还需要报告者进一步提供信息

Comments

@sujg
Copy link

sujg commented Mar 28, 2018

  ` ERROR  Failed to compile with 1 errors                                                                                                         
    20:33:45

    This relative module was not found:

     * ./src/main.js in multi (webpack)-dev-server/client?http://localhost:9527 webpack/hot/dev-server ./src/main.js`

跑了下后台vue,总是提示这个,请指教下

@linlinjava
Copy link
Owner

你好,我其实主攻后台,目前对vue和vue-element-admin只是简单使用,还没有深入了解,所以对于你这个错误也比较困惑。我这里运行可以的,采用Visual Studio Code,然后打开litemall-admin文件夹,然后执行build命令,如下图所示:

image

要不麻烦你再google看看,例如有这个帖子https://github.com/vuejs/vue-cli/issues/439,应该是node环境问题吧。

@linlinjava linlinjava added the 问题不明确 问题不明确,不能重现,还需要报告者进一步提供信息 label Mar 29, 2018
@sujg
Copy link
Author

sujg commented Mar 30, 2018

3Q,本人mac,换了linux就ok的,估计是node环境问题,很感谢能够回答

@linlinjava
Copy link
Owner

本人win10开发没有问题,有可能是你之前装过导致遗留环境不一致或其他。

linlinjava pushed a commit that referenced this issue Jul 16, 2018
leonme pushed a commit to leonme/litemall that referenced this issue Jan 2, 2019
linlinjava pushed a commit that referenced this issue Oct 23, 2019
DeusBit added a commit to DeusBit/litemall that referenced this issue Mar 31, 2020
linlinjava pushed a commit that referenced this issue Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
问题不明确 问题不明确,不能重现,还需要报告者进一步提供信息
Projects
None yet
Development

No branches or pull requests

2 participants