-
-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax error issues on preact create #165
Comments
Could please provide us with your node version ( |
v4.2.6 |
@bobc82 we only support Node.js >= 6.0 (current LTS). Please update your node version |
Also I'd recommend avoiding |
It would be great to add a check for minimum requirements before we run |
I upgraded node at the latest version and now preact create runs fine. And i'll try to reconfigure all avoiding 'sudo'. Thank you everyone! |
I tried to run the preact-cli installation as follows:
And preact-cli was installed as expected. After, i tried to create a project:
On the first attempt terminal returned the following Syntax Error:
I tried to fix myself this issue adding on top of /usr/local/lib/node_modules/preact-cli/node_modules/webpack-plugin-replace/lib/index.js file:
In the second attempt, the preact create command fired another Syntax error, as follows:
The platform where i'm attempting to create the preact project is Ubuntu 16.04.
The text was updated successfully, but these errors were encountered: