-
Notifications
You must be signed in to change notification settings - Fork 35
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
npm install creates an additional node_modules folder #13
Comments
Build gives error: |
In my case, using wrong angular versions made the error occur. |
|
Work around... "fix-jodit-node-modules": "fix-jodit-node-modules.bat", Contents of fix-jodit-node-modules.bat (for windows of course): |
Same problem Angular 6... |
This worked to me with Node.js 12.10: https://stackoverflow.com/a/57866165 In your package.json, add:
Then, create a script in your project with the following:
This will run when you npm install, so you don't have to manually delete the folder. |
Hi,
problem:
by installing jodit-angular there will be generated an additional node_modules folder which ends in following error: "Cannot redeclare block-schoped variable 'ngDevMode'.
solution
delete the generated node_modules folder (everything works fine then)
@xdan: Can you tell me why you locate another additional node_modules folder in your package?
The text was updated successfully, but these errors were encountered: