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
This library appears to use ES6 modules which Node.js does not support.
node_modules/angular2-notifications/dist/index.js:1
(function (exports, require, module, __filename, __dirname) { export * from './src/push-notifications.module';
^^^^^^
SyntaxError: Unexpected token export
at createScript (vm.js:53:10)
at Object.runInThisContext (vm.js:95:10)
at Module._compile (module.js:543:28)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Function.cls_wrapMethod [as _load] (node_modules/newrelic/lib/shimmer.js:256:38)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (dist/compiled/client/app/brand.service.js:6:32)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Function.cls_wrapMethod [as _load] (node_modules/newrelic/lib/shimmer.js:256:38)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (dist/compiled/server/index.js:10:23)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Function.cls_wrapMethod [as _load] (node_modules/newrelic/lib/shimmer.js:256:38)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (index.js:3:1)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:427:7)
at startup (bootstrap_node.js:151:9)
at bootstrap_node.js:542:3
Would it be possible to support Node.js by not using ES6 modules in dist ?
The text was updated successfully, but these errors were encountered:
This library appears to use ES6 modules which Node.js does not support.
Would it be possible to support Node.js by not using ES6 modules in
dist
?The text was updated successfully, but these errors were encountered: