[ 
https://issues.apache.org/jira/browse/STREAMPIPES-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17466357#comment-17466357
 ] 

Ben Hutcheson commented on STREAMPIPES-491:
-------------------------------------------

Hi Philipp,

Thanks for the feedback, I found an issue with me using the default
nodejs/npm packages from ubuntu. I ended up uninstalling them and
installing a deb from the nodesource repo. I was able to install and run sp
using the latest versions of npm for v6, 7 and 8.

I did have to increase my heap size using "export
NODE_OPTIONS=--max-old-space-size=4096" before it would run though.

I also went through and stumbled my way through updating some of the
dependencies, noticed a few different versions of mainly webpack and
angular being requested by various packages. I got it to build but had some
issues starting it, I can continue if you guys are interested.

I'll have to take a look at how the e2e tests are implemented, I
briefly saw a mention of a kafka docker image being used, which was
something I had been thinking about working on for PLC4X.

Kind Regards

Ben




On Wed, Dec 29, 2021 at 3:56 PM Philipp Zehnder (Jira) <[email protected]>



> Incompatible dependencies within the ui
> ---------------------------------------
>
>                 Key: STREAMPIPES-491
>                 URL: https://issues.apache.org/jira/browse/STREAMPIPES-491
>             Project: StreamPipes
>          Issue Type: Bug
>          Components: UI
>            Reporter: Ben Hutcheson
>            Priority: Minor
>
> Just starting building a test environment focused on the ui component and ran 
> into an issue with running npm install.
> It seems there are a few dependency conflicts due to certain versions being 
> pinned.
>  
> {code:java}
> npm ERR! code ERESOLVE
> npm ERR! ERESOLVE unable to resolve dependency tree
> npm ERR! 
> npm ERR! While resolving: [email protected]
> npm ERR! Found: [email protected]
> npm ERR! node_modules/codemirror
> npm ERR!   codemirror@"5.55.0" from the root project
> npm ERR! 
> npm ERR! Could not resolve dependency:
> npm ERR! peer codemirror@">=5.63.3" from @ctrl/[email protected]
> npm ERR! node_modules/@ctrl/ngx-codemirror
> npm ERR!   @ctrl/ngx-codemirror@"5.1.1" from the root project
> npm ERR! 
> npm ERR! Fix the upstream dependency conflict, or retry
> npm ERR! this command with --force, or --legacy-peer-deps
> npm ERR! to accept an incorrect (and potentially broken) dependency 
> resolution.
> npm ERR! 
> npm ERR! See /home/missy/.npm/eresolve-report.txt for a full report.npm ERR! 
> A complete log of this run can be found in:
> npm ERR!     /home/missy/.npm/_logs/2021-12-29T00_03_45_604Z-debug.log
>  {code}
> I am using npm version 7.5.2 and was thinking about rolling back to v6 but 
> wanted to check to see if I am doing something wrong.
> I also started to manually go through and update dependencies but wasn't sure 
> if there was a reason to hold certain packages back?
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to