-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
403 (forbidden) error - Angular 5 with systemjs #280
Comments
I've made it past the 403 error issue. Now I am getting the following error. I've tracked it down to this line in the umd file. |
@johnlalu , we got beyond this error by setting module format to "cjs". |
@johnlalu Hi mate! Do you remember how did you fix the Forbbiden (Error 403) issue? |
Bug Report or Feature Request (mark with an
x
)I am working on setting up ng2-pdf-viewer with angular 5 using systemjs. I get the following error. Fetch error: 403 Forbidden
Instantiating http://localhost:5614/node_modules/ng2-pdf-viewer/bundles
I am attaching a screenshot of the error as well.
The versions I am using:
ng2-pdf-viewer: 4.1.1
pdfjs-dist: 0.1.1
Angular: 5.1.3
The following is my system.config.js. I will attach a text file of that too.
/**
System configuration for Angular samples
Adjust as necessary for your application needs.
*/
(function (global) {
System.config({
paths: {
// paths serve as alias
'npm:': 'node_modules/',
'plugin-babel': 'node_modules/systemjs-plugin-babel/plugin-babel.js',
'systemjs-babel-build': 'node_modules/systemjs-plugin-babel/systemjs-babel-browser.js',
'systemjs': 'node_modules/systemjs/dist/system.js'
},
// map tells the System loader where to look for things
map: {
// our app is within the app folder
'app': 'app',
});
})(this);
system.config.txt
Thank you
The text was updated successfully, but these errors were encountered: