当我试图在exceljs中使用Angular-6时,如下所示
import * as excel from 'exceljs'
createExcel() {
let workbook = new excel.Workbook()
}
甚至我也只是初始化了一个类并得到了这个错误。如果我注释掉这一行let workbook = new excel.Workbook(),那么错误就消失了
./node_modules/fs-常量/Browser.js模块未找到:错误:无法解析'D:\Developer\spire-client\node_modules\fs-con
在用Angular 2.0.0-rc.7构建的Angular Material 2.0.0-alpha.8-1 +rc.5应用程序中,从rc.5+alpha.7-4 (通过1.0.0-beta.11-webpack.8 NG )升级后会出现以下错误:
main.bundle.js:44545 Error: No provider for Overlay!
at NoProviderError.Error (native)
at NoProviderError.BaseError [as constructor] (http://localhost:4200/main.bundl
我正在使用Angular-CLI (Angular 4,Typescript,Webpack)来创建一个带有Office-js的Excel插件。插件运行得很好,但由于微软要求通过CDN获取Office-js,我在弄清楚如何将Excel导入应用程序时遇到了麻烦。
Excel对象正被加载到全局名称空间中,我可以使用declare var Excel: any访问它。可悲的是,这个方法会毁了我的自动补全功能。其他第三方库允许类似import * as _ from 'lodash'的事情,但我不知道如何遵循这种模式,当文件通过index.html中的脚本标记通过CDN传递时。
我已经
获取误差
"The version of flat file destination is not compatible with this version of the dataflow"
当尝试从目录中执行SSIS包时,包在visual studio中执行得很好。我在目录中尝试在32位模式和64位模式下运行它。
包只执行一个存储过程并将结果导出为csv。我不知道它会发生什么,让这个“版本不兼容”搜索它--我找到了,建议删除其中包含"version“的部分,我这样做了,得到了同样的结果。
以下是我所犯的错误:
╔══════════════╦═════════════
我想显示数据从一个csv到网络,但我得到以下错误。我正在使用angular13。
误差
rror: src/app/app.component.html:24:11 - error NG8002: Can't bind to 'ngModel' since it isn't a known property of 'select'.
24 <select [(ngModel)]="currentPage" (change)="onPageChange()">
~~~~~~
在我的应用程序中,我需要一个与服务器的API连接,所以我决定使用这个连接:,但是当我尝试将它加载到我的模块时:
var app = angular.module('onboarding',['ngRoute','ngSanitize','ngStorage','restangular']);
我知道这个错误:
Failed to instantiate module restangular due to:
Error: [$injector:nomod]
http://errors.angularjs.org/1
我的系统js配置看起来像
/**
* Created by nick_ on 5/7/2016.
*/
(function(global) {
// map tells the System loader where to look for things
var map = {
'app': 'app', // 'dist',
'rxjs': 'node_modu
在使用矩构建一个角8项目时,我面临以下错误信息:
ng build @myproject/common
Error: Cannot call a namespace ('moment')
我在互联网上发现了类似的问题,并提出了解决方案,如下所述的角形6/7,但没有一个对我的角度8。
变矩进口
import * as moment from 'moment';
至
import * as moment_ from 'moment';
const moment = moment_;
通过tsconfig.json编译器选项使用默认导入
import
我正在尝试构建用angular7开发的web应用程序的生产版本,编译运行得很好。但当我试图导航到应用程序时,控制台中出现了一个错误:
Uncaught TypeError: ctor is not a constructor
at _createClass (main.07add232d9f568bb2d7a.js:33609)
at _createProviderInstance (main.07add232d9f568bb2d7a.js:33583)
at initNgModule (main.07add232d9f568bb2d7a.js:33514)
a
我想实现自动完成功能,所以我发现一个相同的选项是使用多选择下拉列表。所以我用了这个模块-
但在执行之后,我得到了这些错误-
错误-
ERROR Error: Uncaught (in promise): Error: Template parse errors:
Can't bind to 'placeholder' since it isn't a known property of 'ng-
multiselect-dropdown'.
1. If 'placeholder' is an Angular directiv
我正试图在我的angular2应用程序中进行路由选择。我只是试着跟踪。
但在app.routing.ts中:
import { Routes, RouterModule } from '@angular/router';
它抱怨的:
node_modules/@angular/router/index"' has no exported member 'Routes'.
和
node_modules/@angular/router/index"' has no exported member 'RouterModu
我正在将一个桌面应用程序从Angular 5和Electron2框架升级到Angular 6,但是当我运行/构建应用程序时得到这个错误:运行electron .的npm start。
错误:
Uncaught TypeError: r.existsSync is not a function
at Object.<anonymous> (main.4ff68b38699fd48ecfa7.js:1)
at Object.vbkW (main.4ff68b38699fd48ecfa7.js:1)
at p (runtime.a66f828dca56eeb90e02.js:1)
at