Closed mqklin closed 8 years ago
You are probably missing the dot files.
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, thx, fixed. You should update npm module, it doesn't contain these files.
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.
@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)
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.
@gaearon, I still don't understand how they work. I download it from npm out of habit. Npm packages can't contain dot files?
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.
I've just made
npm install
andnpm start
and gotUnexpected token <
. I can't understand, why it's not working from scratch?