[
https://issues.apache.org/jira/browse/FLAGON-407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16864586#comment-16864586
]
Joshua Poore edited comment on FLAGON-407 at 6/15/19 3:27 AM:
--------------------------------------------------------------
Lots of folks have this issue. To resolve this I have tried adding:
# rollup-plugin-node-resolve
[https://www.npmjs.com/package/rollup-plugin-node-resolve]
# rollup-plugin-commonjs [https://www.npmjs.com/package/rollup-plugin-commonjs]
# updating rollup and rollup-plugin-json, including updating syntax for rollup
^1.0.0 [https://devhints.io/rollup]
I'm neither able to fix the build on Jenkins with these actions, nor am I able
to replicate the error on my Mac.
I've tested on node v 10, 11, 12, clearing package-lock, builds, node_modules,
and clearing npm cache. Also, running nvm as a node manager, so pretty sure I
don't have globals that are overridding behavior of locals.
I've tried running 10, 11, 12 on Jenkins and no luck on the build. The only
difference I can think of is that I'm not running Ubuntu.
I'll try testing down to version 8 on Jenkins, but I'm thrashing at this point.
Any ideas are welcome.
was (Author: [email protected]):
Lots of folks have this issue. To resolve this I have tried adding:
# rollup-plugin-node-resolve
# rollup-plugin-commonjs
# updating rollup and rollup-plugin-js, including updating syntax for rollup
^1.0.0
I'm neither able to fix the build on Jenkins with these actions, nor am I able
to replicate the error on my Mac.
I've tested on node v 10, 11, 12, clearing package-lock, builds, node_modules,
and clearing npm cache. Also, running nvm as a node manager, so pretty sure I
don't have globals that are overridding behavior of locals.
I've tried running 10, 11, 12 on Jenkins and no luck on the build. The only
difference I can think of is that I'm not running Ubuntu.
I'll try testing down to version 8 on Jenkins, but I'm thrashing at this point.
Any ideas are welcome.
> Jenkins Builds Failing at Master
> --------------------------------
>
> Key: FLAGON-407
> URL: https://issues.apache.org/jira/browse/FLAGON-407
> Project: Flagon
> Issue Type: Task
> Components: UserALE.js
> Affects Versions: UserALE.js 2.0.0
> Reporter: Joshua Poore
> Assignee: Joshua Poore
> Priority: Blocker
> Fix For: UserALE.js 2.0.0
>
>
> Local builds, unit tests, and functional tests check out. I've tested locally
> on node 11.10.0 and 12.2.0.
> Jenkins tests are failing on both following inclusion of rollup operations in
> Gulp pipeline for WebExtension. Here is current:
> * *Tests:* npm
> * *Node:*node-v12.2.0-linux-x64
> relevant?
> [https://github.com/tj/n/issues/565]
>
> Error:
>
> [19:00:37] Starting 'test'...
> [19:00:37] Starting 'build'...
> [19:00:37] Starting 'rollup'...
> [19:00:38] Finished 'rollup' after 493 ms
> [19:00:38] Starting 'build-web-ext'...
> [19:00:38] Starting 'rollup-web-ext-content'...
> [19:00:38] 'rollup-web-ext-content' errored after 3.63 ms
> [19:00:38] Error: Could not resolve entry module
> (src/UserAleWebExtension/content.js).
> at error
> (<[https://builds.apache.org/job/useralejs-ci/ws/node_modules/rollup/dist/rollup.js]>:9365:30)
> at pluginDriver.hookFirst.then.resolveIdResult
> (<[https://builds.apache.org/job/useralejs-ci/ws/node_modules/rollup/dist/rollup.js]>:16097:20)
> at process._tickDomainCallback (internal/process/next_tick.js:135:7)
> [19:00:38] 'build-web-ext' errored after 18 ms
> [19:00:38] 'build' errored after 513 ms
> [19:00:38] 'test' errored after 516 ms
> npm ERR! code ELIFECYCLE
> npm ERR! errno 1
> npm ERR! [email protected] test: `gulp test`
> npm ERR! Exit status 1
> npm ERR!
> npm ERR! Failed at the [email protected] test script.
> npm ERR! This is probably not a problem with npm. There is likely additional
> logging output above.
> npm ERR! A complete log of this run can be found in:
> npm ERR! /home/jenkins/.npm/_logs/2019-06-14T19_00_38_238Z-debug.log
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)