Yarn with Editor error

Yarn with Editor error

jtoler5jtoler5 Posts: 88Questions: 32Answers: 3

Running ./node_modules/datatables.net-editor/install.js produces

./node_modules/datatables.net-editor/install.js: line 2: ///: is a directory
./node_modules/datatables.net-editor/install.js: line 3: ///: is a directory
./node_modules/datatables.net-editor/install.js: line 4: ///: is a directory
./node_modules/datatables.net-editor/install.js: line 5: syntax error near unexpected token `('
./node_modules/datatables.net-editor/install.js: line 5: `/// This script will extract files from an Editor download zip file (either'

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,650Questions: 1Answers: 10,094 Site admin
    Answer ✓

    It looks like you might be typing to execute the file as a shell script. Could you try:

    node node_modules/datatables.net-editor/install.js
    

    Thanks,
    Allan

This discussion has been closed.