error Parsing error: The keyword 'import' is reserved
See original GitHub issuei 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);
Issue Analytics
- State:
- Created 7 years ago
- Comments:41 (14 by maintainers)
Top GitHub 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.