vitejs / vite

Next generation frontend tooling. It's fast!
http://vite.dev
MIT License
68.43k stars 6.17k forks source link

Vite Development Environment Report [Commonjs -- solver] node_comodules/node-easy-cert/node_comodules/node-forge/js/forge. js (55:11): 'delete' cannot be called on an identifier in strict modefile: E:/gitlab/Cesium-Examples/roibest-preview-tools/node_modules/anyproxy/lib/webInterface.js:55:1153: deps = (typeof ids === 'string') ? factory.slice(2) : ids.slice(2);54: if(nodeJS) {55: delete define;^56: return tmpDefine.apply(null, Array.prototype.slice.call(arguments, 0));57: } #17777

Closed Cantaloupe313 closed 3 months ago

Cantaloupe313 commented 3 months ago

Describe the bug

Vite Development Environment Report [Commonjs -- solver] node_comodules/node-easy-cert/node_comodules/node-forge/js/forge. js (55:11): 'delete' cannot be called on an identifier in strict modefile: E:/gitlab/Cesium-Examples/roibest-preview-tools/node_modules/anyproxy/lib/webInterface.js:55:1153: deps = (typeof ids === 'string') ? factory.slice(2) : ids.slice(2);54: if(nodeJS) {55: delete define;^56: return tmpDefine.apply(null, Array.prototype.slice.call(arguments, 0));57: }

Reproduction

https://github.com/Cantaloupe313/roibest-preview-tools.git

Steps to reproduce

No response

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (4) x64 Intel(R) Core(TM) i3-8130U CPU @ 2.20GHz
    Memory: 495.89 MB / 7.90 GB
  Binaries:
    Node: 18.20.4 - D:\Program Files (x86)\.nvm\node.EXE 
    Yarn: 1.22.22 - D:\Program Files (x86)\.nvm\yarn.CMD 
    npm: 10.7.0 - D:\Program Files (x86)\.nvm\npm.CMD    
    pnpm: 9.5.0 - D:\Program Files (x86)\.nvm\pnpm.CMD   
  Browsers:
    Edge: Chromium (126.0.2592.113)
    Internet Explorer: 11.0.19041.4355
  npmPackages:
    @vitejs/plugin-vue: ^5.1.1 => 5.1.1 
    @vitejs/plugin-vue-jsx: ^4.0.0 => 4.0.0
    vite: ^5.3.5 => 5.3.5

Used Package Manager

yarn

Logs

vite v5.3.5 building for development...

watching for file changes...

build started... ✓ 259 modules transformed. [commonjs--resolver] node_modules/node-easy-cert/node_modules/node-forge/js/forge.js (55:11): 'delete' cannot be called on an identifier in strict mode file: E:/gitlab/Cesium-Examples/roibest-preview-tools/node_modules/anyproxy/lib/webInterface.js:55:11

53: deps = (typeof ids === 'string') ? factory.slice(2) : ids.slice(2); 54: if(nodeJS) { 55: delete define; ^ 56: return tmpDefine.apply(null, Array.prototype.slice.call(arguments, 0)); 57: }

transforming (334) node_modules\ajv\lib\definition_schema.js transforming (1643) node_modules\lodash\isBuffer.jsAdded Extension: Vue.js devtools (beta) transforming (2205) node_modules\pug\lib\index.jsTray {} dns server event DOMAIN server error:Error: bind EADDRINUSE 0.0.0.0:53 at node:dgram:365:20 at process.processTicksAndRejections (node:internal/process/task_queues:83:21) [sqlite3] initialize success :) [sqlite3] C:\Users\Administrator\AppData\Roaming\roibest-tools\database.sqlite3 Executing (default): SELECT 1+1 AS result Connection has been established successfully. Executing (default): DROP TABLE IF EXISTS t_member; Executing (default): DROP TABLE IF EXISTS t_member; Executing (default): CREATE TABLE IF NOT EXISTS t_member (phone VARCHAR(50) NOT NULL PRIMARY KEY, real_name VARCHAR(255), createdAt DATETIME NOT NULL, updatedAt DATETIME NOT NULL); Executing (default): PRAGMA INDEX_LIST(t_member)

Validations

hi-ogawa commented 3 months ago

Your repository is 404 for me. Please share a reproduction which is accessible publicly.

github-actions[bot] commented 3 months ago

Hello @Cantaloupe313. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with needs reproduction will be closed if they have no activity within 3 days.