Home  >  Article  >  WeChat Applet  >  How to solve the error of loading app-service.js in WeChat applet

How to solve the error of loading app-service.js in WeChat applet

不言
不言Original
2018-06-23 15:02:384376browse

This article mainly introduces the relevant information on the detailed explanation of the app-service.js error when loading the WeChat applet. During the development of the WeChat applet, an app-services.js error occurred and how to solve this problem. Friends in need can Refer to the following

An error occurred during the development of the WeChat applet. After some thinking, I solved the problem. Here is a reminder for everyone!

Error loading app-service.js

WAService.js:2 Do not register multiple Pages in undefined.js

APP-SERVICE-Engine:Please do not register multiple Page in undefined.js

I started to create a new small program, but so many errors were reported.

But when I clicked to view the edit page, there were no pages or utils. .

Entering app.js did not register multiple pages.

It felt very strange, and then I suddenly remembered that I had created a new project with the same name a few days ago, so the above error occurred.

So I renamed it, and this problem disappeared.

Why doesn’t the same project name work? I have actually deleted the original project locally?

If you think about it carefully, the project name of the WeChat server should be the only file under the user~

Because you can also directly click on the preview location on your mobile phone in the project. The project is actually submitted to the WeChat server.

The above is the entire content of this article. I hope it will be helpful to everyone's study. For more related content, please pay attention to the PHP Chinese website!

Related recommendations:

WeChat Mini Program Analysis of wx.request

The above is the detailed content of How to solve the error of loading app-service.js in WeChat applet. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn