You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the n2 package to switch between node versions.
Recently switched to the latest node version and found that bower-concat broke immediately.
Don't even have to execute any tasks (just run --help) and it will show the error in the console.
Below is the output of using both node v6.9.1 and node v7.0.0
bash-3.2$ n 6.9.1
bash-3.2$ node --version
v6.9.1
bash-3.2$ grunt --version
grunt-cli v1.2.0
grunt v0.4.5
bash-3.2$ grunt --help
(node:24954) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
Grunt: The JavaScript Task Runner (v0.4.5)
Usage
grunt [options] [task [task ...]]
Options
--help, -h Display this help text.
--base Specify an alternate base path. By default, all file paths are
relative to the Gruntfile. (grunt.file.setBase) *
--no-color Disable colored output.
--gruntfile Specify an alternate Gruntfile. By default, grunt looks in the
current or parent directories for the nearest Gruntfile.js or
Gruntfile.coffee file.
--debug, -d Enable debugging mode for tasks that support it.
--stack Print a stack trace when exiting with a warning or fatal error.
--force, -f A way to force your way past warnings. Want a suggestion? Don't
use this option, fix your code.
--tasks Additional directory paths to scan for task and "extra" files.
(grunt.loadTasks) *
--npm Npm-installed grunt plugins to scan for task and "extra" files.
(grunt.loadNpmTasks) *
--no-write Disable writing files (dry run).
--verbose, -v Verbose mode. A lot more information output.
--version, -V Print the grunt version. Combine with --verbose for more info.
--completion Output shell auto-completion rules. See the grunt-cli
documentation for more information.
Options marked with * have methods exposed via the grunt API and should instead
be specified inside the Gruntfile wherever possible.
Available tasks
watch Run predefined tasks whenever watched files change.
concat Concatenate files. *
copy Copy files. *
bower_concat Concatenate installed Bower packages. *
default Alias for "concat", "bower_concat", "copy" tasks.
Tasks run in the order specified. Arguments may be passed to tasks that accept
them by using colons, like "lint:files". Tasks marked with * are "multi tasks"
and will iterate over all sub-targets if no argument is specified.
The list of available tasks may change based on tasks directories or grunt
plugins specified in the Gruntfile or via command-line options.
For more information, see http://gruntjs.com/
bash-3.2$ n 7.0.0
bash-3.2$ node --version
v7.0.0
bash-3.2$ grunt --version
grunt-cli v1.2.0
grunt v0.4.5
bash-3.2$ grunt --help
Loading "bower-concat.js" tasks...ERROR
>> Error: Cannot find module 'internal/fs'
Grunt: The JavaScript Task Runner (v0.4.5)
Usage
grunt [options] [task [task ...]]
Options
--help, -h Display this help text.
--base Specify an alternate base path. By default, all file paths are
relative to the Gruntfile. (grunt.file.setBase) *
--no-color Disable colored output.
--gruntfile Specify an alternate Gruntfile. By default, grunt looks in the
current or parent directories for the nearest Gruntfile.js or
Gruntfile.coffee file.
--debug, -d Enable debugging mode for tasks that support it.
--stack Print a stack trace when exiting with a warning or fatal error.
--force, -f A way to force your way past warnings. Want a suggestion? Don't
use this option, fix your code.
--tasks Additional directory paths to scan for task and "extra" files.
(grunt.loadTasks) *
--npm Npm-installed grunt plugins to scan for task and "extra" files.
(grunt.loadNpmTasks) *
--no-write Disable writing files (dry run).
--verbose, -v Verbose mode. A lot more information output.
--version, -V Print the grunt version. Combine with --verbose for more info.
--completion Output shell auto-completion rules. See the grunt-cli
documentation for more information.
Options marked with * have methods exposed via the grunt API and should instead
be specified inside the Gruntfile wherever possible.
Available tasks
watch Run predefined tasks whenever watched files change.
concat Concatenate files. *
copy Copy files. *
default Alias for "concat", "bower_concat", "copy" tasks.
Tasks run in the order specified. Arguments may be passed to tasks that accept
them by using colons, like "lint:files". Tasks marked with * are "multi tasks"
and will iterate over all sub-targets if no argument is specified.
The list of available tasks may change based on tasks directories or grunt
plugins specified in the Gruntfile or via command-line options.
For more information, see http://gruntjs.com/
bash-3.2$
bash-3.2$ exit
The text was updated successfully, but these errors were encountered:
I use the n2 package to switch between node versions.
Recently switched to the latest node version and found that bower-concat broke immediately.
Don't even have to execute any tasks (just run --help) and it will show the error in the console.
Below is the output of using both node v6.9.1 and node v7.0.0
The text was updated successfully, but these errors were encountered: