react-slingshot: error Parsing error: The keyword 'import' is reserved

i cant intall this i run in my terminal 3 commands: Clone the project. git clone https://github.com/coryhouse/react-slingshot.git. Install Node packages. npm install Run the example app. npm start -s

and terminal return this messages

/Users/eugene/Documents/git/cit-one/webpack.config.js 4:1 error Parsing error: The keyword ‘import’ is reserved /Users/eugene/Documents/git/cit-one/tools/build.js 4:1 error Parsing error: The keyword ‘import’ is reserved /Users/eugene/Documents/git/cit-one/tools/buildHtml.js 10:1 error Parsing error: The keyword ‘import’ is reserved /Users/eugene/Documents/git/cit-one/tools/distServer.js 4:1 error Parsing error: The keyword ‘import’ is reserved /Users/eugene/Documents/git/cit-one/tools/srcServer.js 5:1 error Parsing error: The keyword ‘import’ is reserved ✖ 5 problems (5 errors, 0 warnings ERROR: lint:tools: None-Zero Exit(1);

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 41 (14 by maintainers)

Most upvoted comments

I thought that might help others. Because they are probably unzipping copying the files into a preferred folder and then running terminal commands. Because they are copying the files over it’s not including the hidden files that I listed.

You’re right, the problem was when I copied the files over I left out the hidden ones.