Ledzz / angular2-tinymce

Angular 2 component for TinyMCE MCE WYSIWYG editor
https://angular2-tinymce.surge.sh
66 stars 37 forks source link

404 Not Found http://localhost:3000/angular2-tinymce #27

Closed shahafal closed 7 years ago

shahafal commented 7 years ago

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 template

this 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?

Ledzz commented 7 years ago

Are you bundling with angular-cli?

shahafal commented 7 years ago

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.

Ledzz commented 7 years ago

Seems like an issue with your environment. Closed.