Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Cannot find module './charset.js' #387

Closed
jschlanger12 opened this issue Mar 26, 2018 · 2 comments
Closed

Cannot find module './charset.js' #387

jschlanger12 opened this issue Mar 26, 2018 · 2 comments

Comments

@jschlanger12
Copy link

I am trying to package an express and express-admin server and am having issues when running the .exe

pkg/prelude/bootstrap.js:1172
      throw error;
      ^

Error: Cannot find module './charset.js'
1) If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
    at Function.Module._resolveFilename (module.js:534:15)
    at Function.Module._resolveFilename (pkg/prelude/bootstrap.js:1269:46)
    at Function.Module._load (module.js:464:25)
    at Module.require (module.js:577:17)
    at Module.require (pkg/prelude/bootstrap.js:1153:31)
    at require (internal/module.js:11:18)
    at C:\snapshot\Monolith_backend\node_modules\express-admin\node_modules\negotiator\lib\negotiator.js:21:16
    at Array.forEach (<anonymous>)
    at Object.<anonymous> (C:\snapshot\Monolith_backend\node_modules\express-admin\node_modules\negotiator\lib\negotiator.js:19:18)
    at Module._compile (pkg/prelude/bootstrap.js:1243:22)

This is what i get when I try to execute it. Any Ideas?

@jschlanger12 jschlanger12 changed the title Cannot find module './cahrset.js' Cannot find module './charset.js' Mar 26, 2018
@rameshnkl
Copy link

Is it fixed? I am also getting the same error.

@rameshnkl
Copy link

@jschlanger12 , I am also getting the same error, could you please explain what needs to be done? Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants