Closed zzz closed 6 years ago
strange path ./node_modules/_ng2-ckeditor By default the ng2-ckeditor package is installed in ./node_modules/ng2-ckeditor Did you try to uninstall and install the ng2-ckeditor package?
@kzimny ng serve,This command runs and does not go wrong
nice, but are you not looking for a solution of your error? I'm trying to give you a hint... Install ng2-ckeditor in ./node_modules/ng2-ckeditor The package should be installed by default in this path.
@kzimny Thank you very much! I want to ask, where is this configuration? I didn't find this configuration file.
Try the following:
packages: {
'ng2-ckeditor': {
main: 'lib/ng2-ckeditor',
defaultExtension: 'js'
}
}
@kzimny I don't know where to paste this code. What is the name of the file? Can you tell me the trouble?
If you are not working with commonjs module code generation you don't need to set the path explicitly. I guess you are working with Angular CLI, in this case no additional configuration is needed. Try to setup a new project as follows:
ng new myckeditor
cd myckeditor
npm install ng2-ckeditor --save
The ng2-ckeditor package should be installed in ./node_modules/ng2-ckeditor folder
No answer.
What is the reason for this?