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.
Solved! Go to Solution.
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:
but it kept failing.
So I copied the whole node_modules folder and then it ran ok.
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.
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:
but it kept failing.
So I copied the whole node_modules folder and then it ran ok.