chen
chen
I create a entry file by use `webpack.EntryPlugin.createDependency` and custom prefix,  and can resolve by `readResource`  but when use `license-webpack-plugin`, it can find this file(because of create dynamic),and...
**What would you like to be added**: source-map **Why is this needed**: I use `npx nexe -i ./bootstrap.js --enableNodeCli`to build and `NODE_OPTIONS='--require source-map-support/register --inspect-brk' ./bootstrap` to run `--inspect-brk` is valid...
1. 同时有 application和library两个类型项目(前者是正常开发者默认使用的类型,后者是发布给别人使用的时候用的) 2. 在library中的服务其实已经在application的根模块声明了(并且都能正常调用),但是实际上运行会提示 ``` ts ERROR Error: StaticInjectorError(AppModule)[TestComponent -> TestService]: StaticInjectorError(Platform: core)[TestComponent -> TestService]: NullInjectorError: No provider for TestService! at NullInjector.push../node_modules/@angular/core/fesm5/core.js.NullInjector.get (core.js:1062) at resolveToken (core.js:1300) at tryResolveToken (core.js:1244)...
正常情况下 ```html ``` 这样添加一个addColor指令是没问题的, 但是到动态创建这里,问题就多 了, ```ts this.componentFactory = componentFactoryResolver.resolveComponentFactory(component) this.anchor.createComponent(this.componentFactory) ``` 可以手动指定注入器,映射内容,插入位置,导入模块,但是就没说,如何增加指令,查了挺多文档,但是都没说如何实现,是不是动态添加的无法实现这个 - 问题转化了下,如何动态的添加指令到其他的标签上,毕竟要先能动态添加才有可能在动态组件上动态添加.....结果,也没有 - 目前十分尴尬,还没有找到有效的方法.唯一可行的就是在组件内部增加一个标签,把指令绑定到标签上,但是感觉又是很Low,白白的增加了一层标签,强迫症心里不能满足....
就是编译[github-angular](https://github.com/angular/angular)后,成功了,但是想用编译好的替代官方编译的,失败报错..... - 先是有个`.with-local-changes`的一个报错,然后我全局替换掉编译好的包中这个字段暂时Ok - 然后`npm i`(此时已经把package.json中的相关依赖包替换成自编译的),报错 ``` npm ERR! path E:\Code\angular\testclass\demo-ng821\node_modules\.staging\@angular\compiler-cli-2c310fee\node_modules\ansi-regex npm ERR! code ENOENT npm ERR! errno -4058 npm ERR! syscall rename npm ERR! enoent ENOENT: no such file...
前几个版本都没问题(鬼知道我前几个版本用的啥,都是直接^..........),某天更新了下版本,编译后也都正常,正常调试,正常构建,但唯独ng build --prod 提示 ``` ts ERROR in Error during template compile of 'AppModule' Function calls are not supported in decorators but 'CyiaHttpModule' was called. ``` 折腾了半天发现了点端倪, 当new一个新项目,把原理的文件的复制过去后,再次编译,出现这个提示(之前也出现,但是为了控制变量新开了个) 导出路径是module->index.ts->public_api.ts->导入模块构建项目--prod失败 但!当把导出路径改成module->public_api.ts->导入模块构建项目--prod成功...
chrome下 在选中某元素点击时,进行了多次测试,发现有时候,选择某一元素后,双击无效,但是下一次又双击到了,还不是100%成功,已经确定,确实在操作前选中那个元素,但是就是有时候双击不生效 还有就是移动某元素,根本移动操作不好使......,我看说chrome不支持h5的拖拽,但是这个是基于mousedown,up实现的...也不行,尴尬了 本来端对端测试就是为了代替人的,结果失误次数比人还多,不支持的东西还都有用.....,难道还要写一个脚本用来测试测试脚本是否真正点击了?我真是想不出为啥还要用这个 > 最后换puppeteer试试吧,好歹也算亲儿子系列,比起依靠控制器操作网页的,不知道高出多少倍,虽然不支持所有浏览器......但是现在在连一个浏览器都跑不通的情况下,也没别的选择了
选择一个元素,然后获得这个元素的值,不多说了,应该都知道 ```ts title = 'protator-demo'; ngAfterViewInit(): void { setTimeout(() => { this.title='123' }, 3000); } ``` 但是当我在任意一个钩子中加定时器(估计不仅仅是钩子),当x秒后更改这个元素绑定的值时,出现问题了, 测试会卡x秒并最终获得改变的值 ```html Welcome to {{ title }}! ``` ```ts describe('测试', () => {...
#### What is the expected behavior? #### What is the current behavior? #### What are the steps to reproduce? Providing a StackBlitz reproduction is the *best* way to share your...
**Squirrel version(s)** _Which version(s) of the project are you using?_ @electron-forge=>electron-wininstaller(5.0.0) built in **Description** I build 1.0.0 and update to server ,then change version build 1.0.1(only change version),generate `delta nupkg`,but...