Closed shahafal closed 7 years ago
Are you bundling with angular-cli?
currently not bundling with anything, my app is a work in progress so for now its just lite-server and lots of npm start
to run it locally.
Seems like an issue with your environment. Closed.
i am trying to add your angular2-tinymce package to my angular4 (full version 4.2.5) app.
what i did was: added:
"angular2-tinymce": "~2.1.2"
inside my package.json run:npm install
added:import { TinymceModule } from 'angular2-tinymce';
inside my app.module.ts added:TinymceModule.withConfig({})
inside the imports of my app.module.ts added:<app-tinymce [formControl]='contentControl'></app-tinymce>
inside some component templatethis is the error i'm getting (when i run my app with
npm start
:Error: Fetch error: 404 Not Found Instantiating http://localhost:3000/angular2-tinymce Loading http://localhost:3000/app/app.module.js Loading http://localhost:3000/main.js Loading main.js Stack trace: fetchFetch/<@http://localhost:3000/node_modules/systemjs/dist/system.src.js:1478:13 ZoneDelegate.prototype.invoke@http://localhost:3000/node_modules/zone.js/dist/zone.js:391:17 Zone.prototype.run@http://localhost:3000/node_modules/zone.js/dist/zone.js:141:24 scheduleResolveOrReject/<@http://localhost:3000/node_modules/zone.js/dist/zone.js:818:52 ZoneDelegate.prototype.invokeTask@http://localhost:3000/node_modules/zone.js/dist/zone.js:424:17 Zone.prototype.runTask@http://localhost:3000/node_modules/zone.js/dist/zone.js:191:28 drainMicroTaskQueue@http://localhost:3000/node_modules/zone.js/dist/zone.js:584:25 F/</g@http://localhost:3000/node_modules/core-js/client/shim.min.js:8:10016 F/<@http://localhost:3000/node_modules/core-js/client/shim.min.js:8:10138 a.exports/k@http://localhost:3000/node_modules/core-js/client/shim.min.js:8:14293 1:19:53
am i missing something?