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

ember-data master Rollup build error #199

Closed
xg-wang opened this issue Nov 22, 2018 · 11 comments
Closed

ember-data master Rollup build error #199

xg-wang opened this issue Nov 22, 2018 · 11 comments

Comments

@xg-wang
Copy link

xg-wang commented Nov 22, 2018

23:51:45 in ember-cli-fastboot on ξ‚  master [!] is πŸ“¦ v2.0.0 via 🐹 3.3.0 took 40s
[I] ➜ yarn test
yarn run v1.10.1
$ mocha && ember test


  rewriting HTML
    1) builds an index.html that points to the browser build
cleaning up...

Build failed.

Build Error (Rollup)


Could not resolve './references/record' from tmp/rollup-cache_path-23iVf97F.tmp/build/-private/system/references.js

Also failed a new kicked travis-ci https://travis-ci.com/xg-wang/ember-cli-fastboot/jobs/160253348

@xg-wang
Copy link
Author

xg-wang commented Nov 22, 2018

Some commit in ember-data#master caused this, I don't see this error yesterday.
cc @runspired @kellyselden

@xg-wang xg-wang changed the title ember-cli-fastboot master failed test ember-data master Rollup build error Nov 22, 2018
@kellyselden
Copy link
Collaborator

Can we close this since it's not an issue here?

@runspired
Copy link

We don’t know it’s not an issue here, only that apparently ember-data master and here are not compatible. Both do weird build things.

@kellyselden
Copy link
Collaborator

OK thanks for the heads up.

@mistahenry
Copy link

mistahenry commented Nov 22, 2018

emberVersion: options.emberVersion || 'canary',
emberDataVersion: options.emberDataVersion || 'emberjs/data#master'

This seems like a risky default. Any reason not to use latest instead?

@igorT
Copy link

igorT commented Nov 28, 2018

emberjs/data#5757 is the commit which broke it

@runspired
Copy link

runspired commented Nov 28, 2018

I've confirmed that new apps using ember-data master do not break due to the above ember-data commit, only things using ember-cli-addon-tests, so it's not necessarily a fundamental issue with how ember-data is configured to build / publish: it may be an issue with how this repo is consuming it.

Edit: To clarify: what I tested was an app specifying canary via use of "ember-data": "emberjs/data#master" in it's package.json

@runspired
Copy link

Update: We don't fail when installing canary via yarn, but we DO fail on a new app when installing canary via npm.

@runspired
Copy link

runspired commented Nov 28, 2018

@igorT found this yarnpkg/yarn#2090 which means this IS an issue with ember-data as we need to find a way to publish that won't blow up for npm and won't blow up if yarn is fixed to respect .npmignore on installs from git artifacts.

@igorT
Copy link

igorT commented Nov 28, 2018

Should be fixed now

@xg-wang xg-wang closed this as completed Nov 28, 2018
@rwjblue
Copy link
Collaborator

rwjblue commented Nov 28, 2018

Why is this repo using non-released versions of ember-data at all? If we must do this then we will need to setup tarball publishing along the lines of what ember-source does.

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

6 participants