角度4.4.6のアプリケーションで角度素材を使用しようとしていますが、BrowserAnimationsModuleをインポートしようとするとブラウザにエラーメッセージが表示されます。角度4.4.6のアプリケーション用のBrowserAnimationsModuleを使用した角材の設定
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
imports: [
CommonModule,
HttpModule,
FormsModule,
AngularFontAwesomeModule,
BrowserModule,
BrowserAnimationsModule,
RouterModule.forRoot([
{ path: 'register', component: RegisterComponent },
{ path: 'login', component: LoginComponent },
{ path: 'member-detail/:id', component: MemberDetailComponent },
{ path: 'member-listing', component: MemberListingComponent },
package.json
"依存性":{ "角度/アニメーション@": "^ 4.4.6"、 "角度/ CDK @":「^ 2.0.0 "角形/コンパイラ": "^ 4.4.6"、 "角形/コンパイラcli": "^ 4.4。 "@ angle/core": "^ 4.4.6"、 "@ angle/forms": "^ 4.4.6"、 "@ angular/http": "^ 4.4.6"、"@ angle/platform-browser": "^ 4.4.6"、 "@ angle/platform-browser-dynamic": "^ 02.0-beta.12"、 "角度/プラットフォーム - サーバー@ 4.4.6" 、 "": "^ 4.4.6"、ブラウザで
エラーメッセージ:
要求の処理中に未処理の例外が発生しました。
NodeInvocationException:ドキュメントが にReferenceErrorが定義されていません。文書がDefaultDomRenderer2.module.exports.DefaultDomRenderer2.selectRootElementで に定義されていない(C:\コード\ winowio_core \ winowio_coreクライアント\ \ DIST \ vendor.js:28722:72) createAlement(C:\ Code \ winowio_core \ winowio_core \ Client \ dist \ vendor.js)の で をBaseAnimationRenderer.selectRootElement(C:¥Code¥winowio_core¥winowio_core¥Client¥dist¥main-server.js:19174:106) C:\ Code \ winowio_core \ winowio_core \ Client \ dist \ vendor.js: の場合、 23022:5) at Object.createProdRootView [as createRootView](C: C:¥Code¥winowio_core¥winowio_core¥client¥dist¥vendor.js:23707:12) (ComponentFactory_module.exports.ComponentFactory_.create) (C:¥Code¥winowio_core¥winowio_core¥Client¥dist¥vendor.js:14230:29) at ApplicationRef_module.exports.ApplicationRef_.bootstrap(C:\ Code \ winowio_core \ Client \ dist \ vendor.js:14230:29) Code \ winowio_core \ Client \ dist \ vendor.js:15719:57) C:¥Code¥winowio_core¥winowio_core¥Client¥dist¥vendor.js:15502:81 Microsoft.AspNetCore.NodeServices.HostingModels.HttpNodeInstance + d__7.MoveNext()
スタッククエリクッキーヘッダー NodeInvocationException:ドキュメントがn定義済み ReferenceError:BaseAnimationRenderer.selectRootElement(C:\ Code)でDefaultDomRenderer2.module.exports.DefaultDomRenderer2.selectRootElement(C:¥Code¥winowio_core¥winowio_core¥Client¥dist¥vendor.js:28722:72)でドキュメントが定義されていません。 createViewNodes(C:\ Code)にあるcreateElement(C:¥Code¥winowio_core¥winowio_core¥Client¥dist¥vendor.js:19174:106)の\ winowio_core \ winowio_core \ Client \ dist \ main-server.js: (C:¥Code¥winowio_core¥Client¥dist¥vendor.js:23022:5)のcreateRootView(C:\ CodeWinowio_core \ Client \ dist \ vendor.js:23093:44) ComponentFactory_.module.exports.ComponentFactory_.create(C:\ Code \ winowio_core \ winowio_core \ Client \ dist \ vendor.js:20813)のC:¥Code¥winowio_core¥winowio_core¥Client¥dist¥vendor.js:23707: :46)をComponentFactoryBoundToModule.module.exports.ComponentFactoryBoundToModule.create(C:\ Code \ winowio_core \ winowio_core \ Client \ dist \ vendor)にコピーします。(C:¥Code¥winowio_core¥winowio_core¥Client¥dist¥vendor.js:15719:57)のApplicationRef_module.exports.ApplicationRef_.bootstrap(C:\ Code \ winowio_core \ winowio_core \ Client \ js:14230:29) DIST \ vendor.js:15502:81 Microsoft.AspNetCore.NodeServices.HostingModels.HttpNodeInstance + d__7.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(タスクタスク) System.Runtime.CompilerServices.TaskAwaiter.GetResult() Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance + d__13.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter。 HandleNonSuccessAndDebuggerNotification(タスクタスク) System.Runtime.CompilerServices.TaskAwaiter.GetResult() Microsoft.AspNetCore.NodeServices.NodeServicesImpl + d__10.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() Microsoft.AspNetCore.NodeServices.NodeServicesImpl + d__10.MoveNext () System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(タスクタスク) System.Runtime.CompilerServices.TaskAwaiter.GetResult() Microsoft.AspNetCore.NodeServices.NodeServicesImpl + d__10 .MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(タスクタスク) System.Runtime.CompilerServices.TaskAwaiter.GetResult() Microsoft.AspNetCore.SpaServices.Prerendering.PrerenderTagHelper + d__29.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (作業手順) Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner + d__0.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(タスクタスク) AspNetCore IndexCshtmlの._Views_Home_Index_cshtml + d__12.MoveNext() + ViewData ["Title"] = "ホームページ"; System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(タスクタスク) Microsoft.AspNetCore.Mvc.Razor.RazorView + d__16.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo .Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(タスクタスク) Microsoft.AspNetCore.Mvc.Razor.RazorView + d__15.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime .CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(タスクタスク) System.Runtime.CompilerServices.TaskAwaiter.GetResult() Microsoft.AspNetCore.Mvc.Razor.Raz orView + d__14.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(タスクタスク) Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor + d__22.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(タスクタスク) Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor + d__21.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo。 Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(タスクタスク) Microsoft.AspNetCore.Mvc.ViewResult + d__26.MoveNext() System.Runtime.ExceptionServices。ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(タスクタスク) Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker + d__19.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() システム。 Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(タスクのタスク) Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker + d__24.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker。再スロー(ResultExecutedContextコンテキスト) Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(次REF状態、REFスコープスコープ、REFオブジェクトの状態、REF BOOL完了する) Microsoft.AspNe tCore.Mvc.Internal.ResourceInvoker + d__22.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContextコンテキスト) Microsoft.AspNetCore.Mvc.Internal。 ResourceInvoker.Next(ref状態スコープ、refオブジェクト状態、ref bool isCompleted) Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker + d__17.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() システム.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(タスクのタスク) Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker + d__15.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.Compiler Services.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(タスクのタスク) Microsoft.AspNetCore.Builder.RouterMiddleware + d__4.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(タスクタスク) Microsoft.AspNetCore.Authentication.AuthenticationMiddleware + d__6.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(タスクタスク) Microsoft.AspNetCore.SpaServices.Webpack.ConditionalProxyMiddleware + d__6.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAw aiter.HandleNonSuccessAndDebuggerNotification(タスクのタスク) Microsoft.AspNetCore.SpaServices.Webpack.ConditionalProxyMiddleware + d__6.MoveNext() System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(タスクタスク) Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware + d__7.MoveNext()
あなたはあなたの全体のコードを投稿してくださいことはできますか? – Edric