-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
Description
# npx create-react-native-plugin react-native-my-plugin
node:fs:599
handleErrorFromBinding(ctx);
^
Error: ENOENT: no such file or directory, open '/workspaces/react-native-my-plugin/tsconfig-build.json'
at Object.openSync (node:fs:599:3)
at readFileSync (node:fs:467:35)
at replaceTemplateVariables (file:///root/.npm/_npx/c8e08ff0fcfedc7f/node_modules/create-react-native-plugin/customize.js:21:20)
at Array.forEach (<anonymous>)
at default (file:///root/.npm/_npx/c8e08ff0fcfedc7f/node_modules/create-react-native-plugin/customize.js:29:9)
at file:///root/.npm/_npx/c8e08ff0fcfedc7f/node_modules/create-react-native-plugin/index.js:39:1
at ModuleJob.run (node:internal/modules/esm/module_job:198:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:409:24)
at async loadESM (node:internal/process/esm_loader:85:5) {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '/workspaces/react-native-my-plugin/tsconfig-build.json'
}
Changing to release 2.0.4 seems to do the trick: npx create-react-native-plugin@2.0.4 react-native-my-plugin.