html class属性对html div隐藏属性环境的要求

    html class属性对html div隐藏属性环境的要求

    最近项目组里来了个新人,电脑html div隐藏属性版本10.2...前端项目采用html class属性构建,启动前端项目时,一直存在报错

    错误详情:

    ERRORinError:require(...).pathToFileURLisnotafunction

    -index.html:93

    /Users/zhou/Desktop/app/public/index.html:93:51

    -index.html:112

    /Users/zhou/Desktop/app/public/index.html:112:13

    -index.html:123

    /Users/zhou/Desktop/app/public/index.html:123:12

    -index.html css javascript:142HtmlWebpackPlugin.evaluateCompilationResult

    [app]/[html-webpack-plugin]/index.html css javascript:142:28

    -index.html css javascript:324Promise.resolve.then

    [app]/[html-webpack-plugin]/index.html css javascript:324:26

    -next_tick.html css javascript:68process._tickCallback

    internal/process/next_tick.html css javascript:68:7

    html-webpack-plugin对应版本是5.x版本

    当时在其他人的电脑上,其实都没有这个构建错误,感觉就是个环境问题

    从v4升级到v5

    本指南目标是帮助你在使用webpack的时候直接迁移到html class属性。如果你使用运行webpack更底

    层的工具,请参考工具有关迁移的指引。

    准备工作

    html class属性对html div隐藏属性html css javascript的版本要求至少是10.13.0(LTS),因此,如果你还在使用旧版本的html div隐藏属性,html css javascript,请

    升级它们。

    html class属性对html div隐藏属性环境的要求

    仔细看了下文档,现在html class属性有最低的html div隐藏属性版本要求,因此升级对应版本就可以了

    html class属性对html div隐藏属性环境的要求

    仔细看了下文档,现在html class属性有最低的html div隐藏属性版本要求,因此升级对应版本就可以了

Copyright & Disclaimer: If you find copyright issues, please provide relevant information and email us at [email protected], we will communicate promptly and handle removal.

Except for specially marked original content on abcdlink (https://www.abcdlink.com) all other content is reposted by users, and opinions/copyright are unrelated to this site.