# \#npm

**URL:** https://forum.elixirforum.com/tag/npm/1213.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [Thinking Elixir Podcast 275: From Slop to Success?](https://forum.elixirforum.com/t/thinking-elixir-podcast-275-from-slop-to-success/73024)

<div class="topic-metadata">

**Author:** [@brainlid](https://forum.elixirforum.com/u/brainlid)\
**Replies:** 0\
**Last updated:** [October 21, 2025, 12:06pm UTC](https://forum.elixirforum.com/t/thinking-elixir-podcast-275-from-slop-to-success/73024 "2025-10-21T12:06:44Z")

</div>

Episode 275 of Thinking Elixir. News includes the release of Elixir v1.19.0-rc.2 with impressive deps compile times and optimized set-theoretic type checking, a timeline update on typed structs arriving by next year, the…

---

## [Thinking Elixir 269 - Elixir with LLMs and Expert Arrives](https://forum.elixirforum.com/t/thinking-elixir-269-elixir-with-llms-and-expert-arrives/72429)

<div class="topic-metadata">

**Author:** [@brainlid](https://forum.elixirforum.com/u/brainlid)\
**Replies:** 0\
**Last updated:** [September 9, 2025, 12:26pm UTC](https://forum.elixirforum.com/t/thinking-elixir-269-elixir-with-llms-and-expert-arrives/72429 "2025-09-09T12:26:55Z")

</div>

Episode 269 of Thinking Elixir. News includes the release of Expert, the new official Elixir LSP that’s already supported by Zed editor, Tidewave Web getting its first major update with editor integration and notificatio…

---

## [Base page rendering and CSS broken after phoenix-storybook installation](https://forum.elixirforum.com/t/base-page-rendering-and-css-broken-after-phoenix-storybook-installation/61599)

<div class="topic-metadata">

**Author:** [@sgardn](https://forum.elixirforum.com/u/sgardn)\
**Replies:** 2\
**Last updated:** [February 12, 2024, 2:48pm UTC](https://forum.elixirforum.com/t/base-page-rendering-and-css-broken-after-phoenix-storybook-installation/61599 "2024-02-12T14:48:39Z")

</div>

Hi folks - I’m trying to get up and running with phoenix-storybook so I can have a local sandbox to learn a little about LiveView while building increasingly complicated components. However, I’m seeing something broken …

---

## [What would be the best way of utilizing an npm (or other host language's library) library in my elixir otp app](https://forum.elixirforum.com/t/what-would-be-the-best-way-of-utilizing-an-npm-or-other-host-languages-library-library-in-my-elixir-otp-app/59194)

<div class="topic-metadata">

**Author:** [@Twisted\_T-1000](https://forum.elixirforum.com/u/Twisted_T-1000)\
**Replies:** 2\
**Last updated:** [October 23, 2023, 9:22pm UTC](https://forum.elixirforum.com/t/what-would-be-the-best-way-of-utilizing-an-npm-or-other-host-languages-library-library-in-my-elixir-otp-app/59194 "2023-10-23T21:22:27Z")

</div>

I want to experiment with calling a javascript libraries’ functions to get a small subset of functionality to eventually plug into my OTP application. My first instinct is to create a script that installs the dependenci…

---

## [NPM dependancy and production build](https://forum.elixirforum.com/t/npm-dependancy-and-production-build/58072)

<div class="topic-metadata">

**Author:** [@overtune](https://forum.elixirforum.com/u/overtune)\
**Replies:** 9\
**Last updated:** [September 5, 2023, 6:48am UTC](https://forum.elixirforum.com/t/npm-dependancy-and-production-build/58072 "2023-09-05T06:48:25Z")

</div>

Hi! I’m struggling a bit with Phoenix and assets. I have added a dependancy from npm (installed it in the assets-folder according to the docs). It works fine for development, but I’m having problems with deployments/p…

---

## [Running Phoenix Server is warning from npm - caniuse-lite is outdated](https://forum.elixirforum.com/t/running-phoenix-server-is-warning-from-npm-caniuse-lite-is-outdated/55570)

<div class="topic-metadata">

**Author:** [@romenigld](https://forum.elixirforum.com/u/romenigld)\
**Replies:** 19\
**Last updated:** [May 18, 2023, 8:14am UTC](https://forum.elixirforum.com/t/running-phoenix-server-is-warning-from-npm-caniuse-lite-is-outdated/55570 "2023-05-18T08:14:42Z")

</div>

When I run the Phoenix server It complains this warnings: Browserslist: caniuse-lite is outdated. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-…

---

## [Having some difficulty adding three.js to a Phoenix project](https://forum.elixirforum.com/t/having-some-difficulty-adding-three-js-to-a-phoenix-project/55260)

<div class="topic-metadata">

**Author:** [@ChristopherKRad](https://forum.elixirforum.com/u/ChristopherKRad)\
**Replies:** 12\
**Last updated:** [April 16, 2023, 5:40am UTC](https://forum.elixirforum.com/t/having-some-difficulty-adding-three-js-to-a-phoenix-project/55260 "2023-04-16T05:40:19Z")

</div>

I’m having some difficulty adding the npm package “three” to my phx project. Specifically, I am getting blank screen on the /3D route that I have set, however, I am getting the hello word. The div seems to be recognized…

---

## [Warning from npm - caniuse-lite is outdated](https://forum.elixirforum.com/t/warning-from-npm-caniuse-lite-is-outdated/21905)

<div class="topic-metadata">

**Author:** [@Rich\_Morin](https://forum.elixirforum.com/u/Rich_Morin)\
**Replies:** 5\
**Last updated:** [April 12, 2023, 9:34am UTC](https://forum.elixirforum.com/t/warning-from-npm-caniuse-lite-is-outdated/21905 "2023-04-12T09:34:55Z")

</div>

I’m getting the following warning when I run mix phx.server: Browserslist: caniuse-lite is outdated. Please run next command \`npm update caniuse-lite browserslist\` I tried running the command, and got no errors, bu…

---

## [Podcast: ThinkingElixir 119 - NPM CLI Maintainer Moves to Phoenix and Rust](https://forum.elixirforum.com/t/podcast-thinkingelixir-119-npm-cli-maintainer-moves-to-phoenix-and-rust/50756)

<div class="topic-metadata">

**Author:** [@brainlid](https://forum.elixirforum.com/u/brainlid)\
**Replies:** 0\
**Last updated:** [October 4, 2022, 12:11pm UTC](https://forum.elixirforum.com/t/podcast-thinkingelixir-119-npm-cli-maintainer-moves-to-phoenix-and-rust/50756 "2022-10-04T12:11:37Z")

</div>

Episode 119 of Thinking Elixir. Kat Marchán was the maintainer of NPM CLI for 5 years but now works at Microsoft on the VisualStudio product. Kat is passionate about Rust and uses Elixir and Phoenix to build a new Bancha…

---

## [What is the average profile of an Elixir's developer?](https://forum.elixirforum.com/t/what-is-the-average-profile-of-an-elixirs-developer/48682)

<div class="topic-metadata">

**Author:** [@Fl4m3Ph03n1x](https://forum.elixirforum.com/u/Fl4m3Ph03n1x)\
**Replies:** 10\
**Last updated:** [July 3, 2022, 10:58pm UTC](https://forum.elixirforum.com/t/what-is-the-average-profile-of-an-elixirs-developer/48682 "2022-07-03T22:58:45Z")

</div>

Background On a recent discussion with my team, someone brought up the fact we should probably not rely too much on Hex.pm because some of the packages there might be created by people who know very little about programm…

---

## ["phoenix" 1.6.0 NPM package cannot be imported in jest](https://forum.elixirforum.com/t/phoenix-1-6-0-npm-package-cannot-be-imported-in-jest/42670)

<div class="topic-metadata">

**Author:** [@hubertlepicki](https://forum.elixirforum.com/u/hubertlepicki)\
**Replies:** 6\
**Last updated:** [February 3, 2022, 1:24pm UTC](https://forum.elixirforum.com/t/phoenix-1-6-0-npm-package-cannot-be-imported-in-jest/42670 "2022-02-03T13:24:21Z")

</div>

I am using a Github Actions build where in parallel I build JavaScript assets and test them, and also Elixir assets. For that reason, the project is using the packages published to npmjs.org and not the packages loaded …

---

## [Generator\_failed error when using elixir-pdf-generator](https://forum.elixirforum.com/t/generator-failed-error-when-using-elixir-pdf-generator/40374)

<div class="topic-metadata">

**Author:** [@peter-de-boer](https://forum.elixirforum.com/u/peter-de-boer)\
**Replies:** 2\
**Last updated:** [November 29, 2021, 2:37pm UTC](https://forum.elixirforum.com/t/generator-failed-error-when-using-elixir-pdf-generator/40374 "2021-11-29T14:37:40Z")

</div>

I am trying to use GitHub - gutschilla/elixir-pdf-generator: Create PDFs with wkhtmltopdf or puppeteer/chromium from Elixir. · GitHub in my web app. First I have tried to use it with wkhtmltopdf, but it seems it does no…

---

## [Npm install fails for Phoenix LiveView app in Windows 10](https://forum.elixirforum.com/t/npm-install-fails-for-phoenix-liveview-app-in-windows-10/43781)

<div class="topic-metadata">

**Author:** [@Fl4m3Ph03n1x](https://forum.elixirforum.com/u/Fl4m3Ph03n1x)\
**Replies:** 6\
**Last updated:** [November 18, 2021, 5:25am UTC](https://forum.elixirforum.com/t/npm-install-fails-for-phoenix-liveview-app-in-windows-10/43781 "2021-11-18T05:25:37Z")

</div>

Background I have a Phoenix app, in a fresh Windows 10 VM. In this project I cannot run npm install without errors. Problem After running npm install inside the assets directory I get the following output: λ npm instal…

---

## [ModuleBuildError with NPM in phoenix-liveview app](https://forum.elixirforum.com/t/modulebuilderror-with-npm-in-phoenix-liveview-app/42060)

<div class="topic-metadata">

**Author:** [@Fl4m3Ph03n1x](https://forum.elixirforum.com/u/Fl4m3Ph03n1x)\
**Replies:** 6\
**Last updated:** [September 1, 2021, 2:17pm UTC](https://forum.elixirforum.com/t/modulebuilderror-with-npm-in-phoenix-liveview-app/42060 "2021-09-01T14:17:07Z")

</div>

Background Background I am trying to run the demo app desktop-example-app showed in Elixir Berlin meetup February 2021: https://www.youtube.com/watch?v=aFpBHQ0YEw4&t=2016s GitHub - elixir-desktop/desktop-example-app: …

---

## [Phoenix 1.5 include materialize-css using npm](https://forum.elixirforum.com/t/phoenix-1-5-include-materialize-css-using-npm/36954)

<div class="topic-metadata">

**Author:** [@imtiaz](https://forum.elixirforum.com/u/imtiaz)\
**Replies:** 12\
**Last updated:** [August 5, 2021, 1:18pm UTC](https://forum.elixirforum.com/t/phoenix-1-5-include-materialize-css-using-npm/36954 "2021-08-05T13:18:49Z")

</div>

Hi, I’m new to Phoenix. I’m using 1.5 to build a web application. I want to use materializecss. I know I can directly copy the cdn urls and paste it to layout file. But I want to do it via npm. So, I found this package…

---

## [Working package.json for Phoenix bootstrap 5](https://forum.elixirforum.com/t/working-package-json-for-phoenix-bootstrap-5/40614)

<div class="topic-metadata">

**Author:** [@vishal-h](https://forum.elixirforum.com/u/vishal-h)\
**Replies:** 4\
**Last updated:** [June 23, 2021, 12:51pm UTC](https://forum.elixirforum.com/t/working-package-json-for-phoenix-bootstrap-5/40614 "2021-06-23T12:51:13Z")

</div>

I am trying to setup Phoenix/Bootstrap5 based on Using Bootstrap Native with Phoenix LiveView - Dashbit Blog I am struggling with this for last 2 days. Nothing wrong with Elixir/Phoenix but the issues are related with n…

---

## [NPM installation for fresh PhoenixLiveView project failing in Windows 10](https://forum.elixirforum.com/t/npm-installation-for-fresh-phoenixliveview-project-failing-in-windows-10/37170)

<div class="topic-metadata">

**Author:** [@Fl4m3Ph03n1x](https://forum.elixirforum.com/u/Fl4m3Ph03n1x)\
**Replies:** 15\
**Last updated:** [June 17, 2021, 4:16pm UTC](https://forum.elixirforum.com/t/npm-installation-for-fresh-phoenixliveview-project-failing-in-windows-10/37170 "2021-06-17T16:16:07Z")

</div>

Background I am trying to install the dependencies of a fresh project with Node.js v15.6.0. Because there is a bug with the version of webpack I am running the command npm i --legacy-peer-deps: package.json { "reposi…

---

## [Getting ValidationError for mix phx.server](https://forum.elixirforum.com/t/getting-validationerror-for-mix-phx-server/37719)

<div class="topic-metadata">

**Author:** [@raashi\_me](https://forum.elixirforum.com/u/raashi_me)\
**Replies:** 3\
**Last updated:** [February 22, 2021, 9:01am UTC](https://forum.elixirforum.com/t/getting-validationerror-for-mix-phx-server/37719 "2021-02-22T09:01:25Z")

</div>

When I try to run mix phx.server I am getting this error.. \[webpack-cli\] ValidationError: Invalid options object. Copy Plugin has been initialized using an options object that does not match the API schema. - options\[0…

---

## [Unable to run \`npm install\` in fresh Phoenix project on Powershell windows](https://forum.elixirforum.com/t/unable-to-run-npm-install-in-fresh-phoenix-project-on-powershell-windows/37164)

<div class="topic-metadata">

**Author:** [@Fl4m3Ph03n1x](https://forum.elixirforum.com/u/Fl4m3Ph03n1x)\
**Replies:** 3\
**Last updated:** [January 29, 2021, 11:59am UTC](https://forum.elixirforum.com/t/unable-to-run-npm-install-in-fresh-phoenix-project-on-powershell-windows/37164 "2021-01-29T11:59:02Z")

</div>

Background I am trying to do a Phoenix LiveView project to learn how it works. To this extent, I have, in my windows 10 machine, installed Elixir and NPM via chocolatey. I have also successfully run the commands: $ mix …

---

## [(HELP) Upgrading NPM in assets folder Phoenix Framework](https://forum.elixirforum.com/t/help-upgrading-npm-in-assets-folder-phoenix-framework/36736)

<div class="topic-metadata">

**Author:** [@ariandanim](https://forum.elixirforum.com/u/ariandanim)\
**Replies:** 11\
**Last updated:** [January 16, 2021, 3:02am UTC](https://forum.elixirforum.com/t/help-upgrading-npm-in-assets-folder-phoenix-framework/36736 "2021-01-16T03:02:10Z")

</div>

My App Spec: Erlang/OTP 23 \[erts-11.1.5\] \[source\] \[64-bit\] \[smp:8:8\] \[ds:8:8:10\] \[async-threads:1\] \[hipe\] \[dtrace\] Elixir 1.11.3 (compiled with Erlang/OTP 23) Phoenix 1.5.7 NPM version 7.3.0 Node Js version 15.5.0 whe…

---

## [Recommended Typescript definitions for Phoenix Javascript library](https://forum.elixirforum.com/t/recommended-typescript-definitions-for-phoenix-javascript-library/36173)

<div class="topic-metadata">

**Author:** [@andrewf](https://forum.elixirforum.com/u/andrewf)\
**Replies:** 3\
**Last updated:** [December 16, 2020, 7:00am UTC](https://forum.elixirforum.com/t/recommended-typescript-definitions-for-phoenix-javascript-library/36173 "2020-12-16T07:00:47Z")

</div>

Hi, I’m relatively new to Phoenix and Typescript, and ran into a problem. The type definitions installed in the “@types/phoenix” npm package (GitHub - DefinitelyTyped/DefinitelyTyped: The repository for high quality Type…

---

## [How to handle npm security vulnerability in my Phoenix project](https://forum.elixirforum.com/t/how-to-handle-npm-security-vulnerability-in-my-phoenix-project/28583)

<div class="topic-metadata">

**Author:** [@theagilecoder](https://forum.elixirforum.com/u/theagilecoder)\
**Replies:** 4\
**Last updated:** [January 26, 2020, 10:21am UTC](https://forum.elixirforum.com/t/how-to-handle-npm-security-vulnerability-in-my-phoenix-project/28583 "2020-01-26T10:21:35Z")

</div>

When I push my Phoenix 1.4 app to github, I get security vulnerabilties notification on github. So I decided to investigate. Running npm audit in the assets directory, I get the following report: === npm audit securit…

---

## [Npm audit Package tar](https://forum.elixirforum.com/t/npm-audit-package-tar/27276)

<div class="topic-metadata">

**Author:** [@romenigld](https://forum.elixirforum.com/u/romenigld)\
**Replies:** 14\
**Last updated:** [December 6, 2019, 12:31pm UTC](https://forum.elixirforum.com/t/npm-audit-package-tar/27276 "2019-12-06T12:31:43Z")

</div>

Hello Guys, I’m reading the ebook Programming Phoenix 1.4 and in the subchapter “Phoenix LiveView” of the chapter “What’s Next?” I cloned the Phoenix LiveView Example. So I made the steps for run and when I run the npm…

---

## [Github alert: "One of your dependencies has a security vulnerability"](https://forum.elixirforum.com/t/github-alert-one-of-your-dependencies-has-a-security-vulnerability/22974)

<div class="topic-metadata">

**Author:** [@fun2src](https://forum.elixirforum.com/u/fun2src)\
**Replies:** 6\
**Last updated:** [June 6, 2019, 6:29pm UTC](https://forum.elixirforum.com/t/github-alert-one-of-your-dependencies-has-a-security-vulnerability/22974 "2019-06-06T18:29:42Z")

</div>

Hello everyone! I’m developing a Phoenix project (webpack). Yesterday, I received a notification (from Github) which says: “Known high severity security vulnerability detected in js-yaml \< 3.13.1 defined in package…

---

## [NPM Crypto Malware dependency - can this be avoided in Elixir?](https://forum.elixirforum.com/t/npm-crypto-malware-dependency-can-this-be-avoided-in-elixir/18259)

<div class="topic-metadata">

**Author:** [@marciola](https://forum.elixirforum.com/u/marciola)\
**Replies:** 11\
**Last updated:** [November 28, 2018, 3:52pm UTC](https://forum.elixirforum.com/t/npm-crypto-malware-dependency-can-this-be-avoided-in-elixir/18259 "2018-11-28T15:52:57Z")

</div>

Sorry if this is the wrong category. I’m relative new to the community, but excited to be getting involved. I was curious on everyone’s thoughts in regards to the recent NPM dependency injected with malware that was rec…
