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

gulp build not working anymore #19

Closed
Xample opened this issue Feb 10, 2016 · 3 comments
Closed

gulp build not working anymore #19

Xample opened this issue Feb 10, 2016 · 3 comments
Assignees
Labels

Comments

@Xample
Copy link

Xample commented Feb 10, 2016

We took the last seed of the project and tried to run

gulp build

Unfortunately this leads us to:

Build Failed [Error: ENOENT: no such file or directory, open '/Users/xample/Documents/Icflix/SmartTV/TEST/ts-skeleton/src/index']

The workaround was to remove the line 10 on the jspm.conf.js

  paths: {
    "github:*": "vendor/jspm_packages/github/*",
    "npm:*": "vendor/jspm_packages/npm/*",
    "app": "src/index" // <- remove this line
  },

…and to hardcode the module main file into build-dist.js

var mainfile = "src/index.js"
return builder.buildStatic(mainfile, outFile, buildConfig);

I tried to take older seeds, npm install, jspm install but the problem persisted. Another coworker faced the same issue. Here below are the globals:

mbp:src example$ gulp --version
[17:51:17] CLI version 3.9.1
[17:51:17] Local version 3.9.1

mbp:src example$ tsc --version
message TS6029: Version 1.7.5

mbp:src example$ tsd --version
>> tsd 0.6.5

mbp:src example$ jspm --version
0.16.27
@b091 b091 self-assigned this Feb 10, 2016
@b091 b091 added the bug label Feb 10, 2016
b091 added a commit that referenced this issue Feb 10, 2016
@b091
Copy link
Owner

b091 commented Feb 10, 2016

Hi,

it's because jspm downloads never version of systems-builder.

it's fixed on master now.

Regards

@b091 b091 closed this as completed Feb 10, 2016
@hnb2
Copy link

hnb2 commented Feb 10, 2016

Now that's a quick fix ! Thanks a lot, we've been scratching our head for a long time.

@Xample
Copy link
Author

Xample commented Feb 10, 2016

Excellent, will fix my workaround, thanks!

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

No branches or pull requests

3 participants