kauffecup / text-rpg-engine

A simple text-rpg-engine than can run in a multitude of places
14 stars 4 forks source link

npm start not working #5

Open cfjedimaster opened 7 years ago

cfjedimaster commented 7 years ago

Title says it all - and I definitely don't see a start script in package.json.

t0mg commented 6 years ago

Looks like you need "npm start local" instead, see pull #6

cfjedimaster commented 6 years ago

Did you mean npn run-script local? npm start local gives an error. Running npm run-script local gives:

> text-rpg@2.0.0 local /mnt/c/projects/text-rpg-engine
> node ./adapters/adapterLocal.js

/mnt/c/projects/text-rpg-engine/adapters/_loadDataLocal.js:3
export default () => new Promise(resolve => {
^^^^^^

SyntaxError: Unexpected token export
t0mg commented 6 years ago

yes sorry, I meant npm run local but you need to fix that export too, see my PR.

cfjedimaster commented 6 years ago

Ah sorry - missed that. :)