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

grunt transpile-raw task fails: bundle.generate now returns a Promise instead of a { code, map } #4060

Closed
NTag opened this Issue Jul 11, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@NTag
Contributor

NTag commented Jul 11, 2017

Description of the Issue and Steps to Reproduce:

I just cloned the repository, checkout develop, npm install, npm install -g grunt and executed grunt.

I got the following output:

Running "jshint:all" (jshint) task
>> 399 files lint free.

Running "jscs:all" (jscs) task
>> 399 files without code style errors.

Running "transpile" task

Running "clean:build" (clean) task
>> 0 paths cleaned.

Running "transpile-raw" task
>> error transpiling Error: bundle.generate(...) now returns a Promise instead of a { code, map } object
>>     at Promise.get (/Users/ntag/Projets/moment/node_modules/rollup/src/rollup.js:81:9)
>>     at /Users/ntag/Projets/moment/tasks/transpile.js:75:26
>>     at process._tickCallback (internal/process/next_tick.js:103:7)
Warning: bundle.generate(...) now returns a Promise instead of a { code, map } object Use --force to continue.

Aborted due to warnings.

Environment:

I use macOS, tried with node v0.12.18 (npm v2.15.11), node v6.9.15 (npm v3.10.10), and also with node v7.10.0 (npm v4.2.0), all failed.

grunt --version gives grunt-cli v1.2.0 grunt v0.4.5.

But I see that travis has the same issue, so you might already know about!

maggiepint added a commit that referenced this issue Jul 12, 2017

Merge pull request #4061 from NTag/develop
Fix #4060: bundle.generate returns a Promise now
@halfnibble

This comment has been minimized.

halfnibble commented Jul 20, 2017

I'm getting this message using Rollup.js. Any idea what the relation may be?

orif-jr pushed a commit to orif-jr/moment that referenced this issue Aug 3, 2017

Bofanda Bofanda
Merge branch 'develop' into my-develop
* develop:
  Added Gujarati locale for moment (moment#4004)
  Add bambara language. (moment#4001)
  NL and BE locale weekDaysMin should not be capitalized, updated to lowercase. (moment#3961)
  moment#1428: Updated Danish 'L' dateformat to use dots rather than slashes, aligning with article from DSN. (moment#3945)
  update travis to only test back to node 4
  jsnext:main -> module (moment#3904)
  Fix localeData months on Greek (moment#3868)
  Fix moment#4060: bundle.generate returns a Promise now
  compute monthDiff only for the type that needs it
  convert long ternary operator to switch for easier readability
  Changed setter check behavior to use isNaN() for checking whether an input is a valid value
  Removed unwarranted spaces, changed illegal quotes
  Added semicolon to helper
  Added new line in helper file
  Added helper 'isNumeric' to test values for validity in setters
  Update for  check,
  Added comment as requested in: moment#3504
  Fix for conditional in src/lib/units/offset.js:164 - I interpreted this is as simply not catching  being a falsy (but assumedly valid) time zone modifier (_tzm?) of 0

fbonzon added a commit to fbonzon/moment that referenced this issue Oct 28, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment