Not logged in : Login

About: Comment 5 by Tristan Lucas (Rasalghul)     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : sioc:Post, within Data Space : ods-qa.openlinksw.com:8896 associated with source document(s)

AttributesValues
type
Date Created
  • 2019-07-17T13:13:19.619Z
Date Modified
  • 2019-07-17T13:13:19.619Z
label
  • Comment 5 by Tristan Lucas (Rasalghul)
discourse:topic_slug
  • express-web-framework-tutorial-eslint-script
discourse:post_number
  • 5
discourse:quote_count
  • 0
discourse:incoming_link_count
  • 2
discourse:score
  • 11
  • 10.8
  • 11.2
discourse:topic_id
  • 42673
described by
has container
content
  • proxy:entity/https/discourse.mozilla.org/t/express-web-framework-tutorial-eslint-script/42673#content_111334

    Thanks again for looking at my problem.

    I understood that it eslint is not needed to resume the tutorial and I did what showed with your package.json.

    I didn’t know about npx as I’m supposed to learn the essentials and having the minimal working steps to reach some knowledge !

    What troubles me the most is that eslint on the the index.js file ends up saying that require() is not defined !

    Having followed other node.js and javascript tutorial, I would have use “import”/“export” to include other .js file in ES6. But I’ve noticed that node would not recognize that syntax and I should use require().

    Now, the eslint package does not recognize require, it is quite shocking !
    It is already confusing elsewhere, I did not expect more confusing here at MDN !

    Thanks again Chris, I’m still following the tutorial.

discourse:reply_count
  • 0
author
is topic of
is has reply of
Faceted Search & Find service v1.17_git55 as of Mar 01 2021


Alternative Linked Data Documents: ODE     Content Formats:       RDF       ODATA       Microdata      About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3322 as of Mar 14 2022, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (7 GB total memory)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software