Skip to content
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

Unexpected token < #55

Closed
mqklin opened this issue Jan 20, 2016 · 8 comments
Closed

Unexpected token < #55

mqklin opened this issue Jan 20, 2016 · 8 comments

Comments

@mqklin
Copy link

mqklin commented Jan 20, 2016

I've just made npm install and npm start and got Unexpected token <. I can't understand, why it's not working from scratch?

@aaronshaf
Copy link

You are probably missing the dot files.

@gaearon
Copy link
Owner

gaearon commented Jan 21, 2016

Yes, you probably missed .babelrc and friends when copying the folder because they are hidden on the desktop. Please try running git clone and then running npm install in that directory.

@gaearon gaearon closed this as completed Jan 21, 2016
@mqklin
Copy link
Author

mqklin commented Jan 23, 2016

@gaearon, thx, fixed. You should update npm module, it doesn't contain these files.

@gaearon
Copy link
Owner

gaearon commented Jan 23, 2016

I'm not sure why I published it to npm at all, I should probably unpublish.
npm is only useful for dependencies. There is no point installing something from npm and then changing it (npm doesn't support that), but boilerplate is meant for changing locally.

@mqklin
Copy link
Author

mqklin commented Jan 23, 2016

@gaearon, so, you should either unpublish or update it, because it's non-working, and someone (like me) may lose time in attempts to make it work)

@gaearon
Copy link
Owner

gaearon commented Jan 23, 2016

It can't possibly work. I will unpublish it.

I'm not sure what you tried to do because people are not supposed to change code inside node_modules which is what you would do if you tried to use this boilerplate. I didn't completely understand how npm works when I published this.

@mqklin
Copy link
Author

mqklin commented Jan 23, 2016

@gaearon, I still don't understand how they work. I download it from npm out of habit. Npm packages can't contain dot files?

@gaearon
Copy link
Owner

gaearon commented Jan 23, 2016

They can, but the NPM copy is terribly outdated so I don't even remember what's there.
For boilerplates you intend to run and modify, just use git clone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants