Using the FountainJS Angular2 generator with Typescript and Systems.js has been helpful for scaffolding my project. Check it out here
However, I encountered an issue while trying to add a component to the project. Upon importing {GOOGLE_MAPS_DIRECTIVES}
, an error message popped up:
system.src.js:1057 GET http://localhost:3000/node_modules/angular2-google-maps/core/index.js 404 (Not Found)
https://i.sstatic.net/LLlBo.png
I referred to the 'getting started' section on this website and added some code to the jspm.config.js file. However, I couldn't find the angular-cli-build.js file in my project.
Here is a snippet of my jspm.config.js:
SystemJS.config({
packageConfigPaths: [
'npm:@*/*.json',
'npm:*.json',
'github:*/*.json'
],
map: {
// Maps configuration
},
packages: {
// Packages configuration
}
});