-
-
Notifications
You must be signed in to change notification settings - Fork 35.2k
Closed
Labels
invalidIssues and PRs that are invalid.Issues and PRs that are invalid.
Description
- Version: v6.2.0
- Platform: Linux client3 4.0.0n-fuse deps: update openssl to 1.0.1j #1 SMP PREEMPT Wed Apr 15 10:05:27 CEST 2015 x86_64 Intel(R) Core(TM) i7-2860QM CPU @ 2.50GHz GenuineIntel GNU/Linux
- Subsystem:
The code is run with harmony already. It works in node 5, but no hope in node 6. What's the reason of that.
/Invend/int_modules/restore-cache/lib/userCache.js:44
cb = cb || () => {};
^
SyntaxError: Unexpected token )
at Object.exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:513:28)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Invend/int_modules/restore-cache/lib/index.js:29:17)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Invend/int_modules/restore-application-provider/index.js:6:16)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Invend/egapiserver/server.js:11:24)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
Meanwhile I found the following syntax works:
cb = () => {};
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
invalidIssues and PRs that are invalid.Issues and PRs that are invalid.