Questions tagged npm

Explore the latest questions and answers asked by our top developers.

TS4090 Conflicting definitions for node

I currently have two repos. One that acts as the angular front end and the other a nodejs back end. The two code bases are sharing some code so I am using npm link to give access. I’m currently writing another service that will use code from the nodejs backend. After exporting the function that […]

By user187558
Categorized as angular, node.js, npm, typescript Tagged , , ,

JSON drag and drop mapping using angular

I have a requirement to create an UI to convert from one JSON structure to another JSON structure. Need to have 2 panels and load the JSON structures inside the panel. Users should be able to drag and drop JSON nodes from one structure to another and create the final structure. Th project is built […]

By saravanan shanmugavel
Categorized as angular, npm Tagged ,

npm ERR! 404 Not Found – GET – Not found

I’m trying to install npm package dependencies into my angular application and i’m getting this error. Any help to fix this? C:UsersTM161DesktopMasterstage PFESNRT-Music>npm i npm ERR! code E404 npm ERR! 404 Not Found – GET – Not found npm ERR! 404 npm ERR! 404 ‘[email protected]’ is not in the npm registry. npm ERR! 404 […]

By Abdellah AITMOMIN
Categorized as angular, node-modules, node.js, npm Tagged , , ,

Ng serve not working – even with correct Angular CLI versions

The ng serve command does not get executed. I am aware that that usually means an Angular CLI version mismatch. But I believe, that the configuration should be correct… especially because on my Windows PC this exact configuration is working properly. I already tried many different variations and versions. I deleted the node modules, cleared […]

By laurenzma
Categorized as angular, angular-cli, node-modules, npm Tagged , , ,

How to build older version of Grunt angular project

I am building a older version of grunt angular application. I am using the below libraries. grunt.loadNpmTasks(‘grunt-contrib-concat’); grunt.loadNpmTasks(‘grunt-contrib-jshint’); grunt.loadNpmTasks(‘grunt-contrib-uglify’); grunt.loadNpmTasks(‘grunt-contrib-clean’); grunt.loadNpmTasks(‘grunt-contrib-copy’); grunt.loadNpmTasks(‘grunt-contrib-watch’); grunt.loadNpmTasks(‘grunt-recess’); grunt.loadNpmTasks(‘grunt-contrib-less’); grunt.loadNpmTasks(‘grunt-karma’); grunt.loadNpmTasks(‘grunt-html2js’); grunt.registerTask(‘default’, [‘build’]); grunt.registerTask(‘build’, [‘clean’, ‘html2js’, ‘concat’, ‘less:build’, ‘copy:assets’, ‘copy:fontAwesome’, ‘copy:bootstrapFonts’,’copy:angularmultiselect’,’copy:spectrum’, ‘copy:ckeditor’]); grunt.registerTask(‘release’, [‘clean’, ‘html2js’, ‘uglify’, ‘jshint’, ‘karma:unit’, ‘concat:index’, ‘recess:min’, ‘copy:assets’, ‘copy:jchartfx’, ‘copy:fileupload’, ‘karma:e2e’]); grunt.registerTask(‘test-watch’, [‘karma:watch’]); but I am getting […]

By Aravind
Categorized as angular, gruntjs, npm Tagged , ,

npm run build — –prod error JavaScript heap out of memory

On the Github Action, I am running the npm run build — –prod to Create a production build for an Angular-meteor Application. This is my Github Action File Content- – name: Set NPM SPACE SIZE run: set NODE_OPTIONS=–max_old_space_size=4096 – name: Install npm dependencies run: npm install # Create production build – name: Production Build run: […]

By Istiak Mahmood
Categorized as amazon-s3, angular-cli, angularjs, npm Tagged , , ,

Cannot find module typescript.js after Windows restoration point. I’m triying to build my angular app

I had problems with my PC and I restored windows to and old restoration point. After this… When I try to build my Angular App I have the next error: C:UdemyAngularDeCeroAExpertoEdicion2021-paisesApp>npm run build > [email protected] build C:UdemyAngularDeCeroAExpertoEdicion2021-paisesApp > npm run config — –environment=prod && ng build –prod > [email protected] config C:UdemyAngularDeCeroAExpertoEdicion2021-paisesApp > ts-node ./src/assets/scripts/setEnv.ts "–environment=prod" […]

By xav56883728
Categorized as angular, node.js, npm, typescript Tagged , , ,

How to solve npm run build 137 error? Already have set 10gb

I am running npm run build to create a docker. It has –prod option. If ran without –prod it builds fine. If built with –prod it goes into 137 ENDLIFECYCLE error. Killed npm ERR! code ELIFECYCLE npm ERR! errno 137 Unfortunately i can’t just remove the prod option, cos thats what works on dev machine […]

By manu muraleedharan
Categorized as angular, docker, jenkins, node.js, npm Tagged , , , ,

My scss files are combined into a big one

I have two applications, one works fine, because in Chrome I can inspect an element and see where does it take it’s CSS properties from (from which file): image1 (it’s my first question and I don’t have the right to post an image directly). But then in a similar application, it shows everything as taken […]

By majstrProgramator
Categorized as angular, npm, sass Tagged , ,

Angular js install chart.js Failed to instantiate module npm

In my AngularJS project I tried to add the external library chart.js. So I started with command to add the new package in node_modules: npm install chart.js –save During download I see this warning: `– [email protected] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.2.7 (node_moduleschokidarnode_modulesfsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted […]

By Dave-loper
Categorized as angularjs, chart.js, javascript, node.js, npm Tagged , , , ,
1 59

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us