Merge-descriptors error

#1
module.js:550
throw err;
^
Error: Cannot find module 'ms'
at Function.Module._resolveFilename (module.js:548:15)
at Function.Module._load (module.js:475:25)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/rbd/pnpm-volume/7e4b2984-1a3e-4d3d-ab0a-df4dddda9334/node_modules/.registry.npmjs.org/debug/2.6.9/node_modules/debug/src/debug.js:14:20)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)

MOD EDIT: formatting

0 Likes

#2

Open the console ad type

npm install ms

This installs the package

or

enable-pnpm
This will enable pnpm instead of npm and will make all the packages reinstall, possibly including the ms module

0 Likes

#3

Hi @WolfSoftwareDev, welcome to the Glitch Forums!

As @Excigma notes, running enable-pnpm in the console might force installation of the ms package. You can open the console by clicking the Logs button under your project’s name and in the Logs pane clicking the Console button.

If that doesn’t resolve things, can you run pnpm list in the console and post the results?

0 Likes

#4

Since nobody replied i just want to let people know that ive encountered the same error and what @cori and @Excigma said works. :+1:

1 Like