Skip to content

Commit f175f33

Browse files
authored
Merge pull request #96 from adamdicarlo/fix-cannot-find-elm-package-json
fix(cli): Fix crash when installed via yarn
2 parents 94fca16 + 931ad9e commit f175f33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/create-elm-app-cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const path = require('path');
44
const spawn = require('cross-spawn');
55
const argv = require('minimist')(process.argv.slice(2));
66
const version = require('../package.json').version;
7-
const elmPlatformVersion = require('../node_modules/elm/package.json').version;
7+
const elmPlatformVersion = require('elm/package.json').version;
88
const commands = argv._;
99

1010
if (commands.length === 0) {

0 commit comments

Comments
 (0)