Select to view content in your preferred language

ExB 1.12 offline installation server isexe error

746
2
Jump to solution
09-11-2023 04:37 AM
ZdeněkJankovský
Esri Contributor

Hello,

I attempted to install Experience Builder Developer 1.12 in an offline environment. Everything seemed to go well, but when I tried to run npm start in the server directory, it failed with the error “Cannot find module ‘…\node_modules\isexe\index.js’. Please verify that the package.json has a valid ‘main’ entry.”

I checked this, and the main entry points to index.js. I compared the isexe directory in both online and offline installations, and it appears that in the offline version, index.js and mode.js files are missing.

Has anyone else experienced this behavior, or am I doing something wrong?

Thank you.

0 Kudos
1 Solution

Accepted Solutions
ZdeněkJankovský
Esri Contributor

So I tried to copy package statuses and ran server>npm start and it fell into error again.

After that I tried to copy these packages as well:

  • http_error
  • deep-equal
  • tsscmp
  • node-fetch

but it kept failing.

So I copied the whole node_modules folder and then it ran ok.

View solution in original post

0 Kudos
2 Replies
ZdeněkJankovský
Esri Contributor

Well, I take isexe folder from my online installation and copy it to the offline installation. After running server>npm start I got another error: Cannot find module ‘./codes.json’ it seems it is from folder/package statuses.

0 Kudos
ZdeněkJankovský
Esri Contributor

So I tried to copy package statuses and ran server>npm start and it fell into error again.

After that I tried to copy these packages as well:

  • http_error
  • deep-equal
  • tsscmp
  • node-fetch

but it kept failing.

So I copied the whole node_modules folder and then it ran ok.

0 Kudos