Giter VIP home page Giter VIP logo

Comments (11)

dragooncjw avatar dragooncjw commented on May 29, 2024

ERROR in ./src/app.js
Module build failed: Error: Failed to load plugin html: Cannot find module 'eslint-plugin-html'

from react-luo.

javaLuo avatar javaLuo commented on May 29, 2024

ok 我看看

from react-luo.

javaLuo avatar javaLuo commented on May 29, 2024

hi, 我在mac上试了一下,没发现这样的问题
你的报错信息提示没有找到eslint-plugin-html这个包
但项目并没有用到这个包。
你可以把node_modules、yarn.lock或package-lock.json删除,重新install试试

from react-luo.

dragooncjw avatar dragooncjw commented on May 29, 2024

你好,我尝试了很多次都不行。。。请问你的node版本是不是8.11.0?

from react-luo.

javaLuo avatar javaLuo commented on May 29, 2024

我是10.8, 我等下安装一个8.11试一下

from react-luo.

javaLuo avatar javaLuo commented on May 29, 2024

我试了一下,好像也没问题啊
我注意到你的报错是 ./src/app.js
原项目里没有这个文件,这个文件是你后来自己创建的吗

from react-luo.

dragooncjw avatar dragooncjw commented on May 29, 2024

欸,好像是的,我回去再看一下。

from react-luo.

dragooncjw avatar dragooncjw commented on May 29, 2024

确实多出来了一个app.js。。但是我重新跑还是不行,而且还有一点,我必须yarn后再npm install,不然还是会少webpack的库。。。

from react-luo.

dragooncjw avatar dragooncjw commented on May 29, 2024

这回的错误是ERROR in ./src/index.js Module build failed (from ./node_modules/[email protected]@eslint-loader/index.js): Error: Failed to load plugin html: Cannot find module 'eslint-plugin-html'
,我单纯只用cnpm install的时候显示deprecate [email protected][email protected][email protected] › circular-json@^0.3.1 CircularJSON is in maintenance only, flatted is its successor.,run dll的时候也一切正常,但是还是这个依赖包的错误。。。

from react-luo.

javaLuo avatar javaLuo commented on May 29, 2024

[email protected][email protected][email protected] › circular-json@^0.3.1 CircularJSON is in maintenance only
这个是eslint的一个依赖警告,官方应该会在下个版本解决:eslint/eslint#11052

Cannot find module 'eslint-plugin-html' 这个问题我没试出来。网上搜了一圈,还是没找到是什么问题,我会继续跟进的

from react-luo.

dragooncjw avatar dragooncjw commented on May 29, 2024

好的,还是谢谢大佬百忙之中抽空回答我的问题!!!
我会在windows端认真学习你的框架的!!!

from react-luo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.