There are multiple modules with names that only differ in casing. This can lead to unexpected....
2018-01-26 10:00
477 查看
There are multiple modules with names that only differ in casing. This can lead to unexpected behavior when compiling on a filesystem with other case-semantic. Use equal casing. Compare these module identifiers:
在基于webpack的vue下引用模块一直报这种警告,虽然不影响运行,但真的好烦,这警告大概意思就是说这个模块在其他地方也引用了,因为引用时的名字相同,这可能会造成项目打包上线的时候会出现系统引用错误….
这是npm安装的cookie模块
引用的时候我们都会
let Cookie = require('js-cookie'),然而肯定不止一处会引用,因为Windows不区分大小写,所以引用的几处不要出现名称相同 具体如下:
const Cookie = require('js-cookie');
与
const Cookie = require('js-Cookie');
是一样的,这样就可以解决因引用相同模块而造成的某种混乱的警告了
相关文章推荐
- vue中出现 There are multiple modules with names that only differ in casing的问题
- there are multiple mobx instances active. This might lead to unexpected results. See https://github.
- We have detected that MySQL products under the Commercial license are installed. In order to proceed with this GPL installation these Commercial
- Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAUL
- Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -
- there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause
- convert doc with images in to wiki format can only be on linux
- Navigation is only supported to relative URIs that are fragments, or begin with '/', or which contain ';component/'. Parameter name: uri
- Sqlachemy的警告SAWarning: The IN-predicate on "sns_object.BIZ_ID" was invoked with an empty sequence. This results in a contradiction, which nonetheless can be expensive to evaluate.
- there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause
- there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause
- there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause
- msyql同步的时候报错 : 错误代码: 1293 Incorrect table definition;there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause
- [Node.js] Using npm link to use node modules that are "in progress"
- [Err] 1293 - there can be only one TIMESTAMP column with CURRENT_TIME in DEFAULT or ON UPDATE clause
- Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A
- there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT
- The installer cannot read the mwinstall.dll file, This is probably due to a CD reader which can only read files with an eight.th
- error C4996: Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct
- Cannot connect to WMI provider.You do not have permission or the server is unreachable.Note that you can only manager SQL Server 2005 and later version with SQL Server Configuration Manager.Invalid namespace [0x8004100e]