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

strapi start error #199

Closed
soccer99 opened this issue Apr 12, 2017 · 1 comment
Closed

strapi start error #199

soccer99 opened this issue Apr 12, 2017 · 1 comment

Comments

@soccer99
Copy link

Node.js version: v7.5.0
npm version: 4.1.2
"strapi": "~1.5.6"
Mac osx 10.12.4

Brand new strapi project. Set it up and tried to run it. Got this error

/usr/local/lib/node_modules/strapi/node_modules/semver/semver.js:293
    throw new TypeError('Invalid Version: ' + version);
    ^

TypeError: Invalid Version: 4.x
    at new SemVer (/usr/local/lib/node_modules/strapi/node_modules/semver/semver.js:293:11)
    at SemVer.compare (/usr/local/lib/node_modules/strapi/node_modules/semver/semver.js:342:13)
    at compare (/usr/local/lib/node_modules/strapi/node_modules/semver/semver.js:566:31)
    at Function.gt (/usr/local/lib/node_modules/strapi/node_modules/semver/semver.js:595:10)
    at Strapi.isLocalStrapiValid (/usr/local/lib/node_modules/strapi/lib/private/isLocalStrapiValid.js:75:14)
    at Command.module.exports (/usr/local/lib/node_modules/strapi/bin/strapi-start.js:49:14)
    at Command.listener (/usr/local/lib/node_modules/strapi/node_modules/commander/index.js:301:8)
    at emitTwo (events.js:106:13)
    at Command.emit (events.js:192:7)
    at Command.parseArgs (/usr/local/lib/node_modules/strapi/node_modules/commander/index.js:615:12)
@Aurelsicoko
Copy link
Member

Sorry, it should be fixed, we just published a patch on npm. It was caused by changes that we made yesterday.

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

2 participants