-
Notifications
You must be signed in to change notification settings - Fork 7
Error: (SystemJS) require is not defined(…) #1
Description
Hi there.
I am using VS2015 with Angular2.
Installed ng2-tab from npm and getting this:
"angular2-polyfills.js:349 Error: (SystemJS) require is not defined(…)"
Let me know if you need more details. Also, I can provide my PC via TeamViewer for debugging.
Thanks. Renat
P.S. stack:
angular2-polyfills.js:349 Error: (SystemJS) require is not defined
ReferenceError: require is not defined
at eval (http://localhost:50378/lib/npmlibs/ng2-tab/dist/index.js:11:14)
at eval (http://localhost:50378/lib/npmlibs/ng2-tab/dist/index.js:31:3)
at eval ()
Evaluating http://localhost:50378/lib/npmlibs/ng2-tab/dist/index.js
Error loading http://localhost:50378/lib/npmlibs/ng2-tab/dist/index.js as "ng2-tab" from http://localhost:50378/src/components/dashboard.component.js
at eval (http://localhost:50378/lib/npmlibs/ng2-tab/dist/index.js:11:14)
at eval (http://localhost:50378/lib/npmlibs/ng2-tab/dist/index.js:31:3)
at eval ()
Evaluating http://localhost:50378/lib/npmlibs/ng2-tab/dist/index.js
Error loading http://localhost:50378/lib/npmlibs/ng2-tab/dist/index.js as "ng2-tab" from http://localhost:50378/src/components/dashboard.component.js