Git Product home page Git Product logo

Comments (5)

YoshiLiao avatar YoshiLiao commented on April 19, 2024

目前經過我交叉測試,問題應該是出在這行:
npm install --save-dev babel-core babel-eslint babel-loader babel-preset-es2015 babel-preset-react eslint eslint-config-airbnb eslint-loader eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react webpack webpack-dev-server html-webpack-plugin
我把eslint的相關套件,分別安裝,之後就可以顯示了
雖然還是出現了錯誤訊息視窗,如下:
2016-11-11 12 12 27

不過至少範例網頁有顯示.....

from reactjs101.

kdchang avatar kdchang commented on April 19, 2024

@YoshiLiao 您好,因為我們範例有使用 babel 當做代碼檢驗,所以要事先安裝相關套件。應該是之前有改到一些訊息所以有代碼檢驗警示,但不影響使用。造成您的困擾真不好意思,我會儘快修正,謝謝您~

from reactjs101.

kdchang avatar kdchang commented on April 19, 2024

@YoshiLiao 您好,我發現我都是綠色訊息的,不會顯示錯誤耶?可以麻煩您再試試嗎?謝謝您~

from reactjs101.

inetar avatar inetar commented on April 19, 2024

我之前有碰到類似的問題,後來發現是package.json沒有修改到 (npm init產生新的了)
或許你可以檢查一下

from reactjs101.

WuPan1018 avatar WuPan1018 commented on April 19, 2024

您好,我这里报错说webpack接口改掉了,Invalid configuration object. Webpack has been initialised using a configuration object that
does not match the API schema.

  • configuration.module has an unknown property 'preLoaders'. These properties are valid:
    object { exprContextCritical?, exprContextRecursive?, exprContextRegExp?, exprContextReque
    st?, loaders?, noParse?, rules?, unknownContextCritical?, unknownContextRecursive?, unknownCo
    ntextRegExp?, unknownContextRequest?, unsafeCache?, wrappedContextCritical?, wrappedContextRe
    cursive?, wrappedContextRegExp?, strictExportPresence?, strictThisContextOnImports? }
    Options affecting the normal modules (NormalModuleFactory).我这版本需要降吗? 新手求指导

from reactjs101.

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.