Failed to generate lockfile
Closed this issue · 1 comments
max-programming commented
Provide installed version
[Ultra] v0.7.15 (58.93ms)
Provide Node.js version
v16.17.1
Current platform
Windows
Describe the Bug
After installing a package, it fails to generate the ultra.lock
file
file:///C:/Users/Admin/AppData/Roaming/npm/node_modules/ultra-pkg/build/utils/genLockfile.js:14
const { name , version , integrity , path , tarball } = parsed["ultra:self"];
^
TypeError: Cannot destructure property 'name' of 'parsed.ultra:self' as it is undefined.
at file:///C:/Users/Admin/AppData/Roaming/npm/node_modules/ultra-pkg/build/utils/genLockfile.js:14:17
at Array.map (<anonymous>)
at genLock (file:///C:/Users/Admin/AppData/Roaming/npm/node_modules/ultra-pkg/build/utils/genLockfile.js:11:24)
at install (file:///C:/Users/Admin/AppData/Roaming/npm/node_modules/ultra-pkg/build/commands/install.js:201:9)
Expected Behavior
It should generate a lockfile
Template command (if applicable)
No response
To Reproduce
Run the command ultra i express
.
nachoaldamav commented
Try with the version v0.7.16