You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dev启动报错 yarn run v1.22.19
$ npm run build:h5 -- --watch
myApp@1.0.0 build:h5
taro build --type h5 --watch
👽 Taro v3.6.33
TypeError: (memoize.Cache || MapCache) is not a constructor
at memoize (F:\N\QL\1\myApp\node_modules\lodash\memoize.js:66:20)
at memoizeCapped (F:\N\QL\1\myApp\node_modules\lodash_memoizeCapped.js:15:16)
at Object. (F:\N\QL\1\myApp\node_modules\lodash_stringToPath.js:16:20)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Object.newLoader [as .js] (F:\N\QL\1\myApp\node_modules\pirates\lib\index.js:121:7)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Function.Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
找不到项目配置文件config/index,请确定当前目录是 Taro 项目根目录!
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
期望结果
正常编译
实际结果
TypeError: (memoize.Cache || MapCache) is not a constructor
at memoize (F:\N\QL\1\myApp\node_modules\lodash\memoize.js:66:20)
at memoizeCapped (F:\N\QL\1\myApp\node_modules\lodash_memoizeCapped.js:15:16)
at Object. (F:\N\QL\1\myApp\node_modules\lodash_stringToPath.js:16:20)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Object.newLoader [as .js] (F:\N\QL\1\myApp\node_modules\pirates\lib\index.js:121:7)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Function.Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
找不到项目配置文件config/index,请确定当前目录是 Taro 项目根目录!
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
TypeError: (memoize.Cache || MapCache) is not a constructor
at memoize (F:\N\QL\1\myApp\node_modules\lodash\memoize.js:66:20)
at memoizeCapped (F:\N\QL\1\myApp\node_modules\lodash_memoizeCapped.js:15:16)
at Object. (F:\N\QL\1\myApp\node_modules\lodash_stringToPath.js:16:20)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Object.newLoader [as .js] (F:\N\QL\1\myApp\node_modules\pirates\lib\index.js:121:7)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Function.Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
找不到项目配置文件config/index,请确定当前目录是 Taro 项目根目录!
The text was updated successfully, but these errors were encountered:
相关平台
微信小程序
小程序基础库: 3.3.4
使用框架: React
复现步骤
dev启动报错 yarn run v1.22.19
$ npm run build:h5 -- --watch
👽 Taro v3.6.33
TypeError: (memoize.Cache || MapCache) is not a constructor
at memoize (F:\N\QL\1\myApp\node_modules\lodash\memoize.js:66:20)
at memoizeCapped (F:\N\QL\1\myApp\node_modules\lodash_memoizeCapped.js:15:16)
at Object. (F:\N\QL\1\myApp\node_modules\lodash_stringToPath.js:16:20)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Object.newLoader [as .js] (F:\N\QL\1\myApp\node_modules\pirates\lib\index.js:121:7)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Function.Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
找不到项目配置文件config/index,请确定当前目录是 Taro 项目根目录!
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
期望结果
正常编译
实际结果
TypeError: (memoize.Cache || MapCache) is not a constructor
at memoize (F:\N\QL\1\myApp\node_modules\lodash\memoize.js:66:20)
at memoizeCapped (F:\N\QL\1\myApp\node_modules\lodash_memoizeCapped.js:15:16)
at Object. (F:\N\QL\1\myApp\node_modules\lodash_stringToPath.js:16:20)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Object.newLoader [as .js] (F:\N\QL\1\myApp\node_modules\pirates\lib\index.js:121:7)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Function.Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
找不到项目配置文件config/index,请确定当前目录是 Taro 项目根目录!
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
环境信息
补充信息
版本是3.6.33 通过npx @tarojs/cli init myApp 命令行创建的Taro 在启动 dev:weapp 时报错
报错为:
👽 Taro v3.6.33
TypeError: (memoize.Cache || MapCache) is not a constructor
at memoize (F:\N\QL\1\myApp\node_modules\lodash\memoize.js:66:20)
at memoizeCapped (F:\N\QL\1\myApp\node_modules\lodash_memoizeCapped.js:15:16)
at Object. (F:\N\QL\1\myApp\node_modules\lodash_stringToPath.js:16:20)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Object.newLoader [as .js] (F:\N\QL\1\myApp\node_modules\pirates\lib\index.js:121:7)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Function.Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
找不到项目配置文件config/index,请确定当前目录是 Taro 项目根目录!
The text was updated successfully, but these errors were encountered: