getting-started icon indicating copy to clipboard operation
getting-started copied to clipboard

ERR_PACKAGE_PATH_NOT_EXPORTED

Open realdengziqi opened this issue 4 years ago • 1 comments

npm start

CustomError: ERR_PACKAGE_PATH_NOT_EXPORTED /home/lighthouse/moudle/getting-started-main/node_modules/wechaty-puppet/ ./types /home/lighthouse/moudle/getting-started-main/node_modules/wechaty/dist/esm/src/mods/mod.js
    at throwExportsNotFound (/home/lighthouse/moudle/getting-started-main/node_modules/ts-node/dist-raw/node-esm-resolve-implementation.js:397:9)
    at packageExportsResolve (/home/lighthouse/moudle/getting-started-main/node_modules/ts-node/dist-raw/node-esm-resolve-implementation.js:622:3)
    at packageResolve (/home/lighthouse/moudle/getting-started-main/node_modules/ts-node/dist-raw/node-esm-resolve-implementation.js:763:14)
    at moduleResolve (/home/lighthouse/moudle/getting-started-main/node_modules/ts-node/dist-raw/node-esm-resolve-implementation.js:815:18)
    at Object.defaultResolve (/home/lighthouse/moudle/getting-started-main/node_modules/ts-node/dist-raw/node-esm-resolve-implementation.js:929:11)
    at /home/lighthouse/moudle/getting-started-main/node_modules/ts-node/src/esm.ts:152:38
    at Generator.next (<anonymous>)
    at /home/lighthouse/moudle/getting-started-main/node_modules/ts-node/dist/esm.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/home/lighthouse/moudle/getting-started-main/node_modules/ts-node/dist/esm.js:4:12)

realdengziqi avatar Nov 11 '21 16:11 realdengziqi

The latest commit should solve your problem.

Please run the below commands and let me know if it fixes this issue:

git pull
rm -fr node_modules package-lock.json
npm install
npm start

huan avatar Nov 12 '21 01:11 huan