我运行了一个v1.8流星角应用程序(angularjs 1.7.6),一切正常。 更新到v1.8.0.1(或v1.8.0.2)后,服务器可以正常运行,但是客户端在devtools中显示错误,并且该应用无法加载:
.meteor/packages
任何主意是什么问题?我可以检查什么? 干杯
附加我的meteor-base@1.4.0 # Packages every Meteor app needs to have
mongo@1.6.0 # The database Meteor supports right now
session@1.1.8 # Client-side reactive dictionary for your app
jquery@1.11.10 # Helpful client-side library
tracker@1.2.0 # Meteor's client-side reactive programming library
jparker:crypto-md5
http@1.4.1
accounts-base@1.4.3
outatime:jwt-simple
edgee:slingshot
mdj:meteor-node-uuid
aldeed:collection2@3.0.0
reactive-var@1.0.11
angular-templates
civilframe:angular-jade
pbastowski:angular-babel
shell-server@0.4.0
dynamic-import@0.5.0
allow-deny@1.1.0
abernix:standard-minifier-js
underscore@1.0.10
fourseven:scss
aldeed:schema-deny
seba:minifiers-autoprefixer
文件以供参考:
enter code here
const nav = document.getElementById("main")
let topOfNav = nav.offsetTop;
function fixNav() {
if (window.pageYOffset >= topOfNav) {
nav.classList.add('fixed-nav')
} else {
nav.classList.remove('fixed-nav')
}
}
window.addEventListener('scroll', fixNav)
.fixed-nav {
position: fixed;
top: 0;
left: 0;
width: 100%;
}
<nav class="navbar navbar-expand-lg navbar-light" id="main">
<a class="navbar-brand" href="index.html">
<img class="top_logo" src="logo.jpg"
alt="">TestMyCode
</a>
</nav>
<script src="theme.js"></script>