All of lore.kernel.org
 help / color / mirror / Atom feed
* Error building an npm package: npmignore: not found
@ 2022-06-21 16:19 Michael Opdenacker
  2022-06-27 16:37 ` [OE-core] " Enrico Scholz
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Opdenacker @ 2022-06-21 16:19 UTC (permalink / raw)
  To: OE-core

Greetings,

I'm testing the Yocto Project Documentation for creating NPM packages 
(https://docs.yoctoproject.org/dev-manual/common-tasks.html#creating-node-package-manager-npm-packages).

I managed to create a recipe for cute-files 1.0.2 using devtool, but I 
can't manage to build the recipe. Here's what I get:

/home/mike/work/yocto/poky/build/workspace/sources/cute-files/node_modules/get-intrinsic 
--ignore-scripts=true failed with exit code 127, output:

 > get-intrinsic@1.1.2 prepack
 > npmignore --auto --commentLines=autogenerated

sh: 1: npmignore: not found

I do have the "nodejs" package in my image though.

The recipe and full log files are available in 
https://bootlin.com/~mike/pub/yocto-project/npm-2022-06-21/.

Would anyone have a clue, before I file a bug?

Thanks in advance,
Michael.

-- 
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] Error building an npm package: npmignore: not found
  2022-06-21 16:19 Error building an npm package: npmignore: not found Michael Opdenacker
@ 2022-06-27 16:37 ` Enrico Scholz
  2022-06-27 16:47   ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Enrico Scholz @ 2022-06-27 16:37 UTC (permalink / raw)
  To: Michael Opdenacker via lists.openembedded.org; +Cc: OE-core, michael.opdenacker

"Michael Opdenacker via lists.openembedded.org"
<michael.opdenacker=bootlin.com@lists.openembedded.org> writes:

> I'm testing the Yocto Project Documentation for creating NPM packages

npm is broken since kirkstone; see
https://patchwork.yoctoproject.org/project/oe-core/list/?series=4303 for
patches.



Enrico


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] Error building an npm package: npmignore: not found
  2022-06-27 16:37 ` [OE-core] " Enrico Scholz
@ 2022-06-27 16:47   ` Richard Purdie
  2022-06-28 16:44     ` Michael Opdenacker
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2022-06-27 16:47 UTC (permalink / raw)
  To: enrico.scholz, Michael Opdenacker via lists.openembedded.org
  Cc: OE-core, michael.opdenacker

On Mon, 2022-06-27 at 18:37 +0200, Enrico Scholz via
lists.openembedded.org wrote:
> "Michael Opdenacker via lists.openembedded.org"
> <michael.opdenacker=bootlin.com@lists.openembedded.org> writes:
> 
> > I'm testing the Yocto Project Documentation for creating NPM packages
> 
> npm is broken since kirkstone; see
> https://patchwork.yoctoproject.org/project/oe-core/list/?series=4303 for
> patches.
> 

Thanks for the reminder, we should probably test and merge these. I was
hoping we'd get some review from someone else but it seems not many
people are using those code paths :/.

Cheers,

Richard


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] Error building an npm package: npmignore: not found
  2022-06-27 16:47   ` Richard Purdie
@ 2022-06-28 16:44     ` Michael Opdenacker
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Opdenacker @ 2022-06-28 16:44 UTC (permalink / raw)
  To: Richard Purdie, enrico.scholz; +Cc: OE-core

Richard, Enrico,

On 6/27/22 18:47, Richard Purdie wrote:
> On Mon, 2022-06-27 at 18:37 +0200, Enrico Scholz via
> lists.openembedded.org wrote:
>> "Michael Opdenacker via lists.openembedded.org"
>> <michael.opdenacker=bootlin.com@lists.openembedded.org> writes:
>>
>>> I'm testing the Yocto Project Documentation for creating NPM packages
>> npm is broken since kirkstone; see
>> https://patchwork.yoctoproject.org/project/oe-core/list/?series=4303 for
>> patches.
>>
> Thanks for the reminder, we should probably test and merge these. I was
> hoping we'd get some review from someone else but it seems not many
> people are using those code paths :/.


Yessss, the changes now in Poky's master branch allowed me to build my 
recipe and all issues are gone.
What the documentation describes still works.
Many thanks
Michael.

-- 
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-28 16:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-21 16:19 Error building an npm package: npmignore: not found Michael Opdenacker
2022-06-27 16:37 ` [OE-core] " Enrico Scholz
2022-06-27 16:47   ` Richard Purdie
2022-06-28 16:44     ` Michael Opdenacker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.