You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simply running var utm = require('@segment/utm-params') gives:
internal/modules/cjs/loader.js:582
throw err;
^
Error: Cannot find module 'type'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
at Function.Module._load (internal/modules/cjs/loader.js:506:25)
at Module.require (internal/modules/cjs/loader.js:636:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (C:\Users\mikem\OneDrive\Documents\appname\appname\node_modules\component-querystr
ing\index.js:7:12)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
The text was updated successfully, but these errors were encountered:
mikemaccana
changed the title
'type' module required but not listed in dependencies
Requires 'type' module, which is 7 years old and can not be loaded.
Feb 21, 2019
Simply running
var utm = require('@segment/utm-params')
gives:The text was updated successfully, but these errors were encountered: