title: Uncaught TypeError: Failed to resolve module specifier "tslib". Relative references must start with either "/", "./", or "../"
body: <p>please, I started learn npm. If I want instal &quot;@fullcalendar&quot; and used it i get error: &quot;<em>Uncaught TypeError: Failed to resolve module specifier &quot;tslib&quot;. Relative references must start with either &quot;/&quot;, &quot;./&quot;, or &quot;../&quot;.</em>&quot;</p>
  <p><strong>I have this structure:</strong>
  www/templates/node_modules/
  www/templates/assets/calendar.js</p>
  <p><strong>It is start of my calendar.js file:</strong></p>
  <pre><code>import {Calendar} from '../node_modules/@fullcalendar/core/main.js';
  import dayGridPlugin from '../node_modules/@fullcalendar/daygrid/main.js';
  import timeGridPlugin from '../node_modules/@fullcalendar/timegrid/main.js';
  import listPlugin from '../node_modules/@fullcalendar/list/main.js';
  
  other code
  </code></pre>
  <p>In the moment where is imported {Calendar} its throw error. In @fullcalendar/core/main.js i see:</p>
  <pre><code>import './vdom';
  import { __extends, __assign } from 'tslib';
  import { render, createElement, CalendarRoot, CustomContentRenderContext, CalendarContent, flushToDom, DelayedRunner, CalendarDataManager, isArraysEqual, applyStyleProp, CalendarApi } from '@fullcalendar/common';
  export * from '@fullcalendar/common';
  </code></pre>
  <p>But i think that way to tslib (and other import libs) is incorrect. But tslib is in directory www/templates/node_modules/tslib . I dont want edit installed package (i think that is not correct way). Can I set path in npm config? It is possible? Or what is the best way?</p>
  <p>Thanks,
  A.</p>